<!DOCTYPE html>
<!-- saved from url=(0041)https://blog.51cto.com/u_15127573/2763250 -->
<html lang="zh-CN"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    
        <title>linux ubuntu 安装 MySql 8.0.23 教程_51CTO博客_ubuntu安装mysql8.0</title>
    <meta name="keywords" content="linux ubuntu 安装 MySql 8.0.23 教程,Linux博客,51CTO博客">
<meta name="description" content="linux ubuntu 安装 MySql 8.0.23 教程，安装mysql sudo apt-get install mysql-server mysql-client -y测试是否安装成功sudo netstat -tap | grep mysql 打开Mysql配置文件 # 注意：不同 mysql 版本此配置文件位置和名字可能不同sudo vim /etc/mysql/mysql.conf.d/mysqld.cnf#找到将bind-addres">    <meta name="applicable-device" content="pc">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="msvalidate.01" content="91C5324FE68C0A46FA65F3FEC225EA65">
    
<meta http-equiv="x-dns-prefetch-control" content="on">
<link rel="preconnect" href="https://cdn.51cto.com/">
<link rel="dns-prefetch" href="https://cdn.51cto.com/">
<link rel="preconnect" href="https://static2.51cto.com/edu/">
<link rel="dns-prefetch" href="https://static2.51cto.com/edu/">
<link rel="preconnect" href="https://s2.51cto.com/">
<link rel="dns-prefetch" href="https://s2.51cto.com/">
<link rel="preload" as="image" href="https://s2.51cto.com/images/100/base/empty.png?x-oss-process=image/format,webp/ignore-error,1">
    <link rel="canonical" href="https://blog.51cto.com/u_15127573/2763250">
    <link type="favicon" rel="shortcut icon" href="https://blog.51cto.com/favicon.ico">
        <script type="text/javascript" async="" src="./linux ubuntu 安装 MySql 8.0.23 教程_files/js"></script><script src="./linux ubuntu 安装 MySql 8.0.23 教程_files/push.js"></script><script src="./linux ubuntu 安装 MySql 8.0.23 教程_files/hm.js"></script><script async="" src="./linux ubuntu 安装 MySql 8.0.23 教程_files/sensorsdata.min.js"></script><script src="./linux ubuntu 安装 MySql 8.0.23 教程_files/antidomxss_v640.js"></script><script src="./linux ubuntu 安装 MySql 8.0.23 教程_files/interfaceacting220819.js"></script><script type="application/ld+json">{"@context":"https://ziyuan.baidu.com/contexts/cambrian.jsonld","@id":"https://blog.51cto.com/u_15127573/2763250","appid":"1576672126670053","title":"linux ubuntu 安装 MySql 8.0.23 教程_51CTO博客_ubuntu安装mysql8.0","images":["https://s2.51cto.com/images/blog/202105/09/3026c7eecffa9fc5391a9a44fd2dc4fe.jpeg"],"description":"安装 mysql sudo apt-get install mysql-server mysql-client -y测试是否安装成功sudo netstat -tap | grep mysql 打开Mysql 配置文件 # 注意：不同 my","pubDate":"2021-05-09T10:22:13","upDate":"2021-05-09T10:22:13"}</script>
                                <style data-name="css-inline-enable-style-block" type="text/css">
.blue{color:#3e71f6}.Page{margin:0 auto;width:1200px}.Page.Max{min-width:1000px;width:90%}.Page.M764{width:764px}.white-open{background:#fff;display:none;height:100%;left:0;opacity:0;position:fixed;top:0;width:100%;z-index:10}.blue-btn{background:#3e71f6;border:1px solid #3e71f6}.blue-btn:hover{background:#3477e6;border:1px solid #3477e6}.Header{background:#fff;box-shadow:0 3px 10px hsla(0,0%,40%,.03);height:60px;min-width:1000px;position:relative;z-index:21}.Header .Logo{box-sizing:border-box;float:left;height:60px;padding-top:17px;width:214px}.Header .Logo a{display:block;height:100%;overflow:hidden;position:relative}.Header .Logo h1,.Header .Logo h2{position:absolute;text-indent:-9999em;z-index:-1}.Header .Logo a img{position:absolute;z-index:2}.Header .Navigates{display:inline-block;list-style:none}.Header .Navigates li>div.spam-classifications{background:#fff;border-radius:2px;box-shadow:0 0 10px hsla(0,0%,80%,.6);height:352px;position:absolute;top:55px;width:863px;z-index:9999}.spam-classifications .spam-classifications-content{height:100%;position:relative;width:100%}.spam-classifications .classification-ipc{background:rgba(247,248,249,.8);border-radius:1px;box-sizing:border-box;height:100%;padding:20px 0;position:relative;width:366px}.spam-classifications .classification-ipc .classification-list{box-sizing:border-box;cursor:pointer;font-family:Microsoft YaHei;font-weight:400;line-height:60px;padding-left:18px;text-align:left;width:100%}.spam-classifications .classification-ipc .classification-list a{color:#17233f;display:inline-block;font-size:16px;font-weight:400;margin-right:13px}.spam-classifications .classification-primary-list-box{background:#fff;box-sizing:border-box;color:#313d54;font-family:Microsoft YaHei;font-size:9px;font-weight:600;height:352px;left:366px;line-height:20px;padding:20px 0 0 20px;position:absolute;text-align:left;top:0;width:497px}.spam-classifications .classification-primary-list{display:none;height:100%}.spam-classifications .classification-primary-list:first-child{display:block}.spam-classifications .check-user{background:#fff}.spam-classifications .classification-ipc .classification-list:hover .classification-primary-list{display:block}.spam-classifications .classification-ipc .classification-list .classification-primary-list .item-list{line-height:25px;margin-bottom:18px;overflow:hidden;width:100%}.spam-classifications .classification-primary-list a.menu-title{box-sizing:border-box;color:#17233f;cursor:pointer;display:block;float:left;font-size:15px;line-height:40px;margin-right:20px;text-align:left;width:100%}.spam-classifications .classification-primary-list .item-list a{color:#9399a6;cursor:pointer;float:left;font-size:14px;font-weight:400;line-height:25px;margin-right:20px;text-align:left}.spam-classifications .classification-primary-list .item-list a:hover{color:#3e71f6;font-weight:400}.Header ul.Navigates{margin-bottom:0!important;margin-top:0}.Header .Navigates li{height:61px;position:relative}.Header .Navigates li>a{color:#17233f;display:block;height:58px;line-height:61px}.Header .Navigates li>a i{background:#e31436;border-radius:10px;color:#fff;display:inline-block;font-size:12px;font-style:normal;left:23px;line-height:1;padding:1px 4px;position:absolute;top:11px}.Header .Navigates li>div{background:#fff;border:1px solid #ddd;border-top:0;display:none;left:-30px;line-height:32px;position:absolute;right:-15px;text-align:center;top:55px}.Header .Navigates li:hover>div{display:block}.Header .Navigates li>div a{color:#17233f;display:block;font-size:12px;position:relative}.Header .Navigates li>div a:hover{color:#3e71f6}.Header .Navigates.fr li.maps>div{left:auto;min-width:101px;right:0}.Header .Navigates.fr li.message>div{left:auto;min-width:120px;right:-44px;text-align:left}.Header .Navigates.fr li.message>div a{padding-left:19px}.Header .Navigates.fr li.message>div a span{float:left}.Header .Navigates.fr li.message>div a i{background:#e31436;border-radius:10px;color:#fff;display:inline-block;font-size:12px;font-style:normal;line-height:1;margin:7px 0 0 3px;padding:2px 5px}.Header .Navigates.fr li.message>div a i.sx{border-radius:4px;height:4px;padding:0;position:absolute;width:4px}.Header .Navigates.fr li.message>a{color:#9299a7;display:inline-block;font-size:24px;width:40px}.Header .Navigates li.more{position:relative}.Header .Navigates.fl li{float:left;font-size:14px;margin-left:38px}.Header .Navigates.fl li.cur>a,.Header .Navigates.fl li:hover>a{color:#3e71f6}.Header .Navigates.fr li{float:right;margin-left:25px}.Header .Navigates.fr li.maps{margin-left:5px;margin-right:0}.Header .Navigates.fr li.maps .menu{color:#9299a7;display:inline-block;height:12px;line-height:12px;margin-top:24px;text-align:right;width:39px}.Header .Navigates.fr li>div{background:0;border:none;left:-10px;right:-10px}.Header .Navigates.fr li>div .ins{background-color:#fff;border-radius:2px;box-shadow:0 0 10px hsla(0,0%,80%,.6);box-sizing:border-box;padding:10px 0}.Header .Navigates.fr li>a{color:#17233f}.Header .Navigates.fr li>a.cur,.Header .Navigates.fr li>a:hover{color:#3e71f6}.Header .Navigates.fr li.message{margin-left:12px}.Header .Navigates.fr li.user{margin-left:13px;padding-left:38px}.Header .Navigates.fr li.user img{border-radius:100%;height:30px;left:0;position:absolute;top:17px;width:30px}.Header .Navigates.fr li.user>div{left:-40px;min-width:114px;right:5px}.Header .Navigates.fr li.user>a{font-size:14px;max-width:60px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.Header .Navigates.fr li.user .vip-icon{bottom:12px;left:18px}.Header .Navigates.fr li.write a{color:#3e71f6;padding-left:22px;position:relative}.Header .Navigates.fr li.write a:after{background:url("https://s2.51cto.com/images/100/blog/sprites/sprites_ac0aa035.png") -218px -325px;content:"";display:inline-block;height:50%;left:0;position:absolute;top:25%;width:22px}.webp .Header .Navigates.fr li.write a:after{background-image:url("https://s2.51cto.com/images/100/blog/sprites/sprites_ac0aa035.png?x-oss-process=image/format,webp")}.Header .Navigates.fr li.write a:hover{color:#3d62f5}.Header .Navigates.fr li.search{background:#f1f2f3;border-radius:3px;height:28px;line-height:28px;margin-top:17px;width:185px}.Header .Navigates.fr li.search form{width:185px}.Header .Navigates.fr li.search input{background:0;border:none;float:left;height:28px;line-height:28px;padding-left:10px;width:125px}.Header .Navigates.fr li.search ::-webkit-input-placeholder{color:#9399a6;font-size:12px}.Header .Navigates.fr li.search button{background:0;color:#16233f;display:inline-block;float:right;height:14px;line-height:14px;margin:6px 18px 0;padding:0;width:14px;z-index:99}.Header .Navigates.fr li.mRead div{box-sizing:content-box;color:#999;font-size:12px;left:-58px;line-height:1;right:0;width:145px}.Header .Navigates.fr li.mRead div .ins{padding:15px 0}.Header .Navigates li a:hover .fgline{background:#3e71f6}.fgline{background:#a2a8b2;display:inline-block;height:11px;margin:25px 10px 0;width:1px}.Content{padding-top:20px;z-index:10}.Content,.Footer{position:relative}.Footer{background:#eaeaeb;color:#999;font-size:12px;margin-top:20px;overflow:hidden;padding:40px 0}.Footer dl{font-size:14px;margin-right:40px}.Footer dl dt{color:#333;font-size:16px;margin-bottom:10px}.Footer dl td{height:28px;padding-right:28px}.Footer dl td a{color:#666}.Footer dl td a:hover{color:#3e71f6}.Footer dl img{margin-right:20px}.Footer .copy a{color:#999}.Footer .copy a:hover{color:#333}.pagination{font-size:12px;margin:30px auto;text-align:center}.pagination li{display:inline-block;line-height:1;overflow:hidden}.pagination li.disabled,.pagination li.disabled:hover{color:#333;cursor:default;font-size:14px;padding:0 5px}.pagination li:last-child.last.disabled{color:#999;font-size:12px}.pagination li a,.pagination li.active b{color:#999;display:block;line-height:1;padding:0 5px;text-align:center;width:24px}.pagination li.active b{color:#333}.pagination li a:hover,.pagination li.active a{color:#333;font-size:14px}.pagination li.first a,.pagination li.first_page a,.pagination li.last a,.pagination li.last_page a,.pagination li.next a,.pagination li.prev a{text-align:center;width:50px}.pagination li.next:hover a,.pagination li.prev:hover a{font-size:12px}.pagination li:last-child.last.noLink{background:0;border-color:transparent;margin:0}.noList{margin:100px auto;text-align:center}.noList p{color:#999;font-size:16px;line-height:3}.is-vip-bg,.is-vip-bg-2,.is-vip-bg-3,.is-vip-bg-4,.is-vip-bg-5,.is-vip-bg-6,.is-vip-bg-7{height:100%;position:relative}.is-vip-bg-6 i{right:5px}.vip-icon{bottom:0;cursor:pointer;display:inline-block;position:absolute;right:-5px}.vip-icon-1{background:url("https://s2.51cto.com/images/100/blog/old/vip.png") no-repeat left 0;bottom:6px;height:32px;right:8px;width:32px}.webp .vip-icon-1{background-image:url("https://s2.51cto.com/images/100/blog/old/vip.png?x-oss-process=image/format,webp")}.vip-icon-2{background:url("https://s2.51cto.com/images/100/blog/old/vip.png") no-repeat left -64px;height:22px;width:22px}.webp .vip-icon-2{background-image:url("https://s2.51cto.com/images/100/blog/old/vip.png?x-oss-process=image/format,webp")}.vip-icon-3{background:url("https://s2.51cto.com/images/100/blog/old/vip.png") no-repeat left -108px;height:20px;width:20px}.webp .vip-icon-3{background-image:url("https://s2.51cto.com/images/100/blog/old/vip.png?x-oss-process=image/format,webp")}.vip-icon-4{background:url("https://s2.51cto.com/images/100/blog/old/vip.png") no-repeat left -152px;height:18px;width:18px}.webp .vip-icon-4{background-image:url("https://s2.51cto.com/images/100/blog/old/vip.png?x-oss-process=image/format,webp")}.vip-icon-5{background:url("https://s2.51cto.com/images/100/blog/old/vip.png") no-repeat left -152px;bottom:11px;height:18px;left:20px;position:absolute;width:18px}.webp .vip-icon-5{background-image:url("https://s2.51cto.com/images/100/blog/old/vip.png?x-oss-process=image/format,webp")}.vip-icon-1.on{background:url("https://s2.51cto.com/images/100/blog/old/vip.png") no-repeat right 0}.webp .vip-icon-1.on{background-image:url("https://s2.51cto.com/images/100/blog/old/vip.png?x-oss-process=image/format,webp")}.vip-icon-2.on{background:url("https://s2.51cto.com/images/100/blog/old/vip.png") no-repeat right -64px}.webp .vip-icon-2.on{background-image:url("https://s2.51cto.com/images/100/blog/old/vip.png?x-oss-process=image/format,webp")}.vip-icon-3.on{background:url("https://s2.51cto.com/images/100/blog/old/vip.png") no-repeat right -108px}.webp .vip-icon-3.on{background-image:url("https://s2.51cto.com/images/100/blog/old/vip.png?x-oss-process=image/format,webp")}.vip-icon-4.on{background:url("https://s2.51cto.com/images/100/blog/old/vip.png") no-repeat right -152px}.webp .vip-icon-4.on{background-image:url("https://s2.51cto.com/images/100/blog/old/vip.png?x-oss-process=image/format,webp")}.vip-icon-5.on{background:url("https://s2.51cto.com/images/100/blog/old/vip.png") no-repeat right -152px}.webp .vip-icon-5.on{background-image:url("https://s2.51cto.com/images/100/blog/old/vip.png?x-oss-process=image/format,webp")}.is-vip-bg-6{position:relative}.is-vip-bg-7 .vip-icon-4{background:url("https://s2.51cto.com/images/100/blog/old/vip.png") no-repeat 0 100%;bottom:0;height:28px;position:absolute;right:0;width:28px}.webp .is-vip-bg-7 .vip-icon-4{background-image:url("https://s2.51cto.com/images/100/blog/old/vip.png?x-oss-process=image/format,webp")}.is-vip-bg-7 .vip-icon-4.on{background:url("https://s2.51cto.com/images/100/blog/old/vip.png") no-repeat 100% 100%}.webp .is-vip-bg-7 .vip-icon-4.on{background-image:url("https://s2.51cto.com/images/100/blog/old/vip.png?x-oss-process=image/format,webp")}.is-vip-bg-3 i{bottom:0;right:12px}.is-vip-bg-4 i{bottom:0;right:0}.center-bg .vip-icon{bottom:6px;right:0}.comment-creat .is-vip-bg-6 i{bottom:-2px;right:-2px}.Header .Navigates .cur{position:relative}.Header .Navigates li.newyear-li{color:#fd5c61;height:36px;margin-top:10px;width:100px}.Header .Navigates li.newyear-li img{cursor:pointer;width:100%}.Header .Navigates li.newyear-li>a{line-height:22px;text-align:center}.special-column .column-1 .column-box .center a.h2{font-size:18px}.special-column .column-1 .column-box .center h5 span{font-size:14px}.Header .Navigates.fr li.login{background:0;margin-right:0;padding-right:0}.Navigates.fl li:hover>a.column-stress:hover,.column-stress{color:#c79e59}.Header .Navigates.fr li.mRead>a{display:inline-block;margin-top:1px;width:23px}.Header .Navigates.fr li.mRead>a u{background:url("https://s2.51cto.com/images/100/blog/sprites/sprites_ac0aa035.png") -359px -197px;display:inline-block;height:100%;margin-left:-11px;transform:scale(.5);width:46px}.webp .Header .Navigates.fr li.mRead>a u{background-image:url("https://s2.51cto.com/images/100/blog/sprites/sprites_ac0aa035.png?x-oss-process=image/format,webp")}.Header .Navigates.fr li.mRead div img{height:70px;margin:0 auto;width:70px}.Header .Navigates.fr li.mRead div.towD-box{margin:0 auto 15px;text-align:center}.Header .Navigates.fr li.mRead div.towD-box:last-child{margin-bottom:0}.Header .Navigates.fr li.mRead div.towD-box p{color:#2e3d56;font-size:12px;margin-top:8px}.Footer{background:#fff;box-shadow:0 -1px 20px 10px hsla(0,3%,94%,.32);padding-top:35px}.Footer .Logo{box-sizing:border-box;display:block;height:60px;padding-top:16px;width:214px}.Footer .copy{color:#bbb;text-align:left}.Footer .copy a{color:#666;font-size:14px}.Footer .copy a:hover{color:#3e71f6}.Footer tr:first-child{border:0}.Footer table td{border:0;font-size:14px}.Footer a.zhiCustomBtn,.aboutList a.zhiCustomBtn{display:block}.Header .Navigates.fr li.creative a{background:#3e71f6;border-radius:3px;color:#fff;display:inline-block;height:28px;line-height:28px;margin-top:16px;text-align:center;width:85px}.Header .Navigates.fr li.creative a:hover{background:#3d62f5}.Footer dt{font-weight:700}.Footer dl td{padding-bottom:5px}dl.foot_ab td{padding-right:43px}dl.foot_link{margin-right:50px}input::-ms-clear{display:none;height:0;width:0}.Header .focusSelect{width:185px}.Header .Navigates.fr li>div.focusSelect{background:#fff;border-radius:2px;box-shadow:0 2px 12px 0 rgba(49,61,84,.12);display:block;display:none;left:0;padding-bottom:10px;position:absolute;text-align:left;top:48px;z-index:2}.focusSelect .searchHistoryList{display:none}.focusSelect .hishead{border-bottom:1px solid #f6f7f8;color:#9399a6;display:block;font-size:14px;line-height:1.1;margin:20px 20px 10px;padding-bottom:10px;position:relative}.focusSelect .clearhis{color:#9399a6;cursor:pointer;float:right;font-size:14px}.focusSelect .clearhis:hover{color:#313d54}.focusSelect .clearhis .iconblog{font-size:14px;margin-right:6px}.focusSelect .his-item{color:#313d54;cursor:pointer;font-size:14px;height:35px;line-height:35px;padding:0 20px;position:relative}.focusSelect .searchHistoryList .his-item .close-his-item{color:#9399a6;display:none;font-size:12px;position:absolute;right:20px;top:50%;-webkit-transform:translateY(-50%);-moz-transform:translateY(-50%);-o-transform:translateY(-50%);-ms-transform:translateY(-50%);transform:translateY(-50%)}.focusSelect .his-item span{display:block;max-width:80%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.focusSelect .his-item:hover{background:#f6f7f8}.focusSelect .his-item:hover .close-his-item{display:block}.focusSelect .searchHistoryList .his-item .close-his-item:hover{color:#313d54}.search-mask{background:0;display:none;height:100%}.search-mask,.searchFix{position:fixed;width:100%}.searchFix{top:0}.hotList .his-item span{display:inline-block;max-width:100%;vertical-align:middle}.hotList .his-item:first-of-type span,.hotList .his-item:nth-of-type(2) span,.hotList .his-item:nth-of-type(3) span{max-width:70%}.hotList .icon-hot{background:url("https://s2.51cto.com/images/100/blog/old/hot.png") no-repeat 0 0;background-size:100%;display:inline-block;height:13.5px;margin-left:11px;vertical-align:middle;width:12px}.webp .hotList .icon-hot{background-image:url("https://s2.51cto.com/images/100/blog/old/hot.png?x-oss-process=image/format,webp")}.focusSelect_key{padding-top:10px}.focusSelect_key .his-item span{max-width:100%}.key{color:#53638a;font-style:normal}.checkSearchResult{color:#3e71f6;cursor:pointer;font-size:14px;height:35px;line-height:35px;padding:0 20px}.checkSearchResult:hover{background:#f6f7f8}.checkSearchResult span{float:left}.checkKey{display:inline-block;font-style:normal;max-width:30%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;word-break:break-all}.focusSelect .hotList .hishead{color:#da311e}.urlTransfer{box-sizing:border-box;min-height:700px;padding-top:130px}.urlTransfer .logo{background:url("https://s2.51cto.com/images/100/blog/old/logo3.png") no-repeat 50%;background-size:217px 37px;height:37px;margin:0 auto;width:217px}.webp .urlTransfer .logo{background-image:url("https://s2.51cto.com/images/100/blog/old/logo3.png?x-oss-process=image/format,webp")}.urlTransfer .inner{background:#fff;box-sizing:border-box;margin:20px auto 0;padding:26px 39px;width:445px}.urlTransfer .inner .tit{background:#f7f7f7;color:#222;font-size:16px;height:45px;line-height:45px;width:240px}.urlTransfer .inner .tit i{color:#d3313a;float:left;font-size:25px;margin:0}.urlTransfer .inner .tips{color:#222;font-size:16px;margin-top:15px}.urlTransfer .inner .btn{background:#d3313a;border-radius:2px;color:#fff;cursor:pointer;display:block;height:36px;line-height:36px;margin-top:20px;text-align:center;width:100px}.urlTransfer .inner .btn:hover{background:#c22d36;color:#fff}.urlTransfer .inner .url{-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;color:#999;display:-webkit-box;font-size:16px;margin-top:10px;overflow:hidden;text-overflow:ellipsis;word-break:break-all}.urlTransfer .inner .url span{cursor:pointer}.urlTransfer .inner .url span:hover{color:#666}.common_scales_light{animation-duration:1s;-webkit-animation-duration:1s;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-name:scales_light;-webkit-animation-name:scales_light}@keyframes scales_light{0%{transform:scale(100%)}50%{transform:scale(96%)}to{transform:scale(100%)}}@-webkit-keyframes scales_light{0%{-webkit-transform:scale(100%)}50%{-webkit-transform:scale(96%)}to{-webkit-transform:scale(100%)}}@media screen and (max-width:1199px){.Header .focusSelect .hishead{margin:16px!important}.Header .focusSelect{font-size:12px!important}.Header .focusSelect .his-item{padding:0 16px!important}.Header .focusSelect .clearhis,.Header .focusSelect .clearhis .iconblog,.Header .focusSelect .his-item,.Header .focusSelect .hishead{font-size:12px!important}.Header .hotList .his-item:first-of-type span,.Header .hotList .his-item:nth-of-type(2) span,.Header .hotList .his-item:nth-of-type(3) span{max-width:70%!important}}.home-top{background:#303030;font-size:12px;font-weight:400;height:30px;line-height:30px;position:relative;width:100%}.home-top,.home-top a,.home-top a:hover{color:#fff}.home-top .top-box{height:30px}.home-top .top-box .item-lf{float:left;padding-right:40px;position:relative}.blog-search{font-size:14px!important}.hot{align-items:center;display:flex}.hot .hot-div{background:url("https://s2.51cto.com/images/100/blog/index/sprites_indexfp0908.png") no-repeat -167px -96px;display:inline-block;font-size:12px;height:28px;line-height:14px;margin-left:10px;position:absolute;right:-5px;top:-2px;transform:scale(.5);width:52px}.webp .hot .hot-div{background-image:url("https://s2.51cto.com/images/100/blog/index/sprites_indexfp0908.png?x-oss-process=image/format,webp")}.hot span{display:block;font-weight:600;transform:scale(.8);-ms-transform:scale(.8);-moz-transform:scale(.8);-webkit-transform:scale(.8);-o-transform:scale(.8)}.home-top .top-box .item-rt{float:right;margin-left:30px}.home-top .top-box .item-rt .ctoicon{font-size:14px}.home-top .top-box .item-rt.collection{cursor:pointer}.home-top .top-box .subweb{display:inline-block;height:30px}.home-top .top-box .subweb:hover{cursor:pointer;font-weight:600}.home-top .top-box .top-right{float:right}.home-top .top-box .search{color:#fff;line-height:14px}.home-top .top-box .search .ctoicon{font-size:14px;line-height:30px}.home-top .top-box .loginbox{line-height:30px}.home-top .top-box .loginbox img{border-radius:50%;height:18px;overflow:hidden;vertical-align:middle;width:18px}.home-top .nav-more-container{background:#303030;position:absolute;top:30px;transition:height .3s;width:100%;z-index:1000}.home-top .nav-more-container .nav-contant-box{position:relative;transition:height .3s}.home-top .nav-more-container .nav-contant{box-sizing:border-box;font-size:0;height:0;overflow:hidden;position:absolute;transition:height .3s;width:100%}.home-top .nav-more-container .nav-contant a{color:#fff;font-size:12px;line-height:25px;margin-right:50px}.home-top .nav-more-container .nav-contant a:hover{color:#e90505}.home-top .nav-more-container .nav-contant .ewmbox{display:inline-block;text-align:center;width:135px}.home-top .nav-more-container .nav-contant .ewmbox .imgbox{background:#fff;border:4px solid #fff;border-radius:4px;height:66px;margin:15px auto 0;overflow:hidden;width:66px}.home-top .nav-more-container .nav-contant .ewmbox img{background:#fff;border-radius:4px;height:66px;width:66px}.home-top .nav-more-container .nav-contant .ewmbox .txt{color:#c8c8c8;font-size:12px;padding-top:5px}.home-top .nav-more-container .nav-contant.nav-contant1{padding-left:112px}.home-top .nav-more-container .nav-contant.nav-contant2{padding-left:185px}.home-top .nav-more-container .nav-contant.nav-contant3{padding-left:259px}.home-top .nav-more-container .nav-contant.nav-contant4{padding-left:333px}.home-top .nav-more-container .nav-contant.nav-contant5{padding-left:180px}.home-top .nav-more-container .nav-contant.nav-contant6{padding-left:198px}.home-top .nav-more-container .nav-contant.nav-contant7,.home-top .nav-more-container .nav-contant.nav-contant8{text-align:center}.home-top .nav-more-container .nav-contant.nav-contant8 .ewmbox{width:160px}.home-top .nav-more-container .nav-contant.nav-contant9{text-align:right}.home-top .nav-more-container .nav-contant.nav-contant9 .loginout{cursor:pointer;font-size:12px}.home-top .search-top{float:right;position:relative}.right-fixadv{bottom:60%;position:fixed;right:20px;width:100px;z-index:999}.right-fixadv .ins{position:relative}.right-fixadv .ins span{background:url("https://s2.51cto.com/images/100/blog/sprites/sprites_ac0aa035.png") no-repeat -61px -277px;content:"";cursor:pointer;display:block;height:32px;position:absolute;right:-10px;top:-20px;transform:scale(.5);width:32px;z-index:99}.webp .right-fixadv .ins span{background-image:url("https://s2.51cto.com/images/100/blog/sprites/sprites_ac0aa035.png?x-oss-process=image/format,webp")}.right-fixadv img{width:100%}@media screen and (max-width:1199px){.Header .Navigates.fl li{margin-left:24px}.Header .Navigates.fr li{margin-left:20px}.Header .Navigates.fr li.search,.Header .Navigates.fr li.search form,.Header .focusSelect{width:133px}.Header .Navigates.fr li.search input{width:72px}.Footer dl,.Footer dl.foot_link{margin-right:0}.Header .Page{width:1000px}.top-box .item-lf{padding-right:25px}}@media screen and (min-width:1200px) and (max-width:1581px){.home-top .top-box .item-lf{padding-right:38px}}@media screen and (min-width:1581px) and (max-width:1767px){.Header .Navigates.fr li.search,.Header .Navigates.fr li.search form,.Header .focusSelect{width:400px}.Header .Navigates.fr li.search input{width:280px}.Header .Page{width:1390px}}@media screen and (min-width:1768px){.Header .Navigates.fr li.search,.Header .Navigates.fr li.search form,.Header .focusSelect{width:400px}.Header .Navigates.fr li.search input{width:280px}.Header .Page{width:1580px}}@font-face{font-family:iconblog;src:url("https://static2.51cto.com/edu/blog/blog-static/iconFont/iconfont.woff2?t=1653558021230") format("woff2"),url("https://static2.51cto.com/edu/blog/blog-static/iconFont/iconfont.woff?t=1653558021230") format("woff"),url("https://static2.51cto.com/edu/blog/blog-static/iconFont/iconfont.ttf?t=1653558021230") format("truetype")}.iconblog{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:iconblog!important;font-size:16px;font-style:normal}.blogimport:before{content:"\e700"}.blogqiandao:before{content:"\e6ff"}.blogyidaka:before{content:"\e6fe"}.blogqiandaoqueren:before{content:"\e6fc"}.blogshenfenrenzhengbeifen:before{content:"\e6f8"}.bloggonggaobeifen:before{content:"\e6f7"}.blogunfold:before{content:"\e6f4"}.bloghuati:before{content:"\e6f3"}.blogrongyurenzheng:before{content:"\e6f1"}.blogpaixujiang:before{content:"\e6ee"}.blogpaixusheng:before{content:"\e6ed"}.blogxunzhangguanli:before{content:"\e6ec"}.bloghelp:before{content:"\e6eb"}.blogxiewenzhang:before{content:"\e6ea"}.blogzuixinblogzuixin:before{content:"\e63f"}.blogzuire:before{content:"\e63e"}.blogxiangshangpaixu:before{content:"\e6e6"}.blogzhujiao2:before{content:"\e6e0"}.blogzhujiang2:before{content:"\e6df"}.blogxuesheng2:before{content:"\e6de"}.blogyitijiao2:before{content:"\e6dd"}.blogrili2:before{content:"\e6dc"}.blogpaixu2:before{content:"\e6db"}.blogjiezhishijian2:before{content:"\e6da"}.blogdanxuanxuanzhong:before{content:"\e6d9"}.blogdanxuanweixuanzhong:before{content:"\e6d8"}.blogzuoye2:before{content:"\e6d5"}.blogshijian2:before{content:"\e6d4"}.blogjiaoshi2:before{content:"\e6d3"}.blogmulu:before{content:"\e63d"}.bloga-bianzu9:before{content:"\e63b"}.bloga-bianzu8:before{content:"\e63c"}.bloga-bianzu10:before{content:"\e638"}.bloga-bianzu12:before{content:"\e639"}.bloga-bianzu6:before{content:"\e63a"}.bloga-bianzu11:before{content:"\e637"}.bloga-bianzu7:before{content:"\e636"}.bloga-shanchutupian:before{content:"\e6cd"}.blogtianjiabeifen:before{content:"\e6cc"}.blogtishibeifen:before{content:"\e6cb"}.blogtishi2beifen:before{content:"\e6ca"}.blogjubaobeifen:before{content:"\e6c7"}.blogfuwuqibeifen:before{content:"\e6bc"}.blogqiyexinxihuabeifen:before{content:"\e6bb"}.blogyouxikaifabeifen:before{content:"\e6ba"}.blogrengongzhinengbeifen:before{content:"\e6b9"}.blogruanjianyanfabeifen:before{content:"\e6b8"}.blogkaoshirenzhengbeifen:before{content:"\e6b7"}.bloghongmengbeifen:before{content:"\e6b6"}.blogofficebangongbeifen:before{content:"\e6b5"}.blogqianrushibeifen:before{content:"\e6b4"}.blogyidongkaifabeifen:before{content:"\e6b3"}.blogbianchengyuyanbeifen:before{content:"\e6b2"}.blogqianduankaifabeifen:before{content:"\e6b1"}.blogyunjisuanbeifen:before{content:"\e6b0"}.blogshujukubeifen:before{content:"\e6af"}.blogxitongyunweibeifen:before{content:"\e6ae"}.blogwangluoanquanbeifen:before{content:"\e6ad"}.blogJavabeifen:before{content:"\e6ac"}.blogpythonbeifen:before{content:"\e6ab"}.blogdashujubeifen:before{content:"\e6aa"}.bloga-15beifen41:before{content:"\e6a2"}.bloga-15beifen4:before{content:"\e6a1"}.bloga-15beifen5:before{content:"\e6a0"}.bloga-15beifen2:before{content:"\e69f"}.bloga-15beifen3:before{content:"\e69e"}.bloga-15beifen:before{content:"\e69d"}.blogchenggongtishi:before{content:"\e69a"}.blogxiepinglun:before{content:"\e699"}.blogwodeqianbaobeifen:before{content:"\e697"}.blogdianzanxuanzhong:before{content:"\e696"}.bloga-icbokewenda:before{content:"\e692"}.bloga-icyijianfankui:before{content:"\e691"}.bloga-icfenxiangbeifen:before{content:"\e690"}.bloga-icwodedingyuezhuanlan:before{content:"\e68f"}.bloga-icdingyuezhuanlan:before{content:"\e68e"}.bloga-icshouye:before{content:"\e68d"}.bloga-icyonghu:before{content:"\e68c"}.blogshanchu1:before{content:"\e68a"}.blogyuedu:before{content:"\e689"}.blogpinglun3:before{content:"\e687"}.blogfenxiang1:before{content:"\e686"}.bloggengduo:before{content:"\e67f"}.blogshanchu18:before{content:"\e67e"}.blogquxiao18:before{content:"\e67d"}.bloglink:before{content:"\e67c"}.blogshanchu:before{content:"\e67b"}.blogdianzan:before{content:"\e679"}.blogremensousuo:before{content:"\e676"}.bloglishijilu:before{content:"\e675"}.bloga-blogdianzanxe622:before{content:"\e622"}.blogchuangzuoshezhibeifen:before{content:"\e631"}.blogchuangzuoliebiao:before{content:"\e632"}.blogchuangzuoshouye:before{content:"\e633"}.blogchuangzuoqushi:before{content:"\e634"}.blogchuangzuotianjia:before{content:"\e635"}.blogchuangzuogongju:before{content:"\e623"}.blogchuangzuolanhufan:before{content:"\e624"}.blogchuangzuoguanli:before{content:"\e625"}.blogchuangzuohuodong:before{content:"\e626"}.blogchuangzuorli:before{content:"\e628"}.blogchuangzuochuangzuo:before{content:"\e629"}.blogchuangzuoshezhi:before{content:"\e62b"}.blogchuangzuoshuju:before{content:"\e62f"}.blogchuangzuoxiazai:before{content:"\e630"}.blogfenxiang:before{content:"\e61b"}.blogNextpage:before{content:"\e62e"}.blogPreviouspage:before{content:"\e62d"}.blogxuanzhongbeifen1:before{content:"\e62c"}.blogweixuanzhongbeifen:before{content:"\e62a"}.blogright:before{content:"\e627"}.blogshouqi:before{content:"\e620"}.blogyuedu1:before{content:"\e621"}.blogsixin1:before{content:"\e61f"}.blogshoucang:before{content:"\e61e"}.blogpinglun1:before{content:"\e61d"}.blogzhankai:before{content:"\e61c"}.blogbianji1:before{content:"\e61a"}.blogguanzhu:before{content:"\e619"}.blogbianji:before{content:"\e617"}.blogshanchu2:before{content:"\e618"}.blogfenxiangqq:before{content:"\e614"}.blogfenxiangweixin:before{content:"\e615"}.blogfenxiangweibo:before{content:"\e616"}.blogqqqun:before{content:"\e611"}.blogboke:before{content:"\e612"}.blogguan:before{content:"\e613"}.blogpinglun:before{content:"\e605"}.blogpinglun2:before{content:"\e606"}.blogshang:before{content:"\e607"}.blogsixin:before{content:"\e608"}.blogshou:before{content:"\e609"}.blogzan2:before{content:"\e60a"}.blogfen:before{content:"\e60b"}.blogshan:before{content:"\e60c"}.blogzhi:before{content:"\e60d"}.blogsou:before{content:"\e60e"}.blogzan:before{content:"\e60f"}.blogduo:before{content:"\e610"}.blogxie:before{content:"\e604"}@font-face{font-family:fontDIN;src:url("https://cdn.51cto.com/fonts/din/DIN.ttf"),url("https://cdn.51cto.com/fonts/din/DIN.eot")}@font-face{font-family:fontDIN-bold;src:url("https://cdn.51cto.com/fonts/din/DIN-Bold.ttf"),url("https://cdn.51cto.com/fonts/din/DIN-Bold.eot")}@font-face{font-family:fontDIN-medium;src:url("https://cdn.51cto.com/fonts/din/DIN-Medium.ttf"),url("https://cdn.51cto.com/fonts/din/DIN-Medium.eot")}::-webkit-scrollbar{-webkit-appearance:none;height:10px;width:10px}::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.3);border:2px solid #fff;border-radius:4px}::-webkit-scrollbar-thumb:hover{background-color:rgba(0,0,0,.5)}::-webkit-scrollbar-thumb:window-inactive{background-color:rgba(0,0,0,.2)}.msg-index-box{background:#fff;border-radius:10px;left:50%;margin-left:-300px;padding:25px 10px;position:fixed;top:30%;width:606px;z-index:9999}.msg-index-box .top-bg{background:url("https://s2.51cto.com/images/100/blog/index/followbg.png") no-repeat top;height:129px;left:0;position:absolute;top:0;width:626px}.webp .msg-index-box .top-bg{background-image:url("https://s2.51cto.com/images/100/blog/index/followbg.png?x-oss-process=image/format,webp")}.msg-index-box .follow-close{background:url("https://s2.51cto.com/images/100/blog/index/sprites_indexfp0908.png") -61px -206px;cursor:pointer;height:18px;position:absolute;right:14px;top:14px;width:19px;z-index:1}.webp .msg-index-box .follow-close{background-image:url("https://s2.51cto.com/images/100/blog/index/sprites_indexfp0908.png?x-oss-process=image/format,webp")}.msg-index-box .con-box{left:0;position:absolute;top:0;width:100%}.msg-index-box .icon-bg{left:97px;position:absolute;top:48px}.msg-index-box .icon-1{background:url("https://s2.51cto.com/images/100/blog/index/sprites_indexfp0908.png") -8px -206px;height:31px;width:37px}.webp .msg-index-box .icon-1{background-image:url("https://s2.51cto.com/images/100/blog/index/sprites_indexfp0908.png?x-oss-process=image/format,webp")}.msg-index-box .icon-2{background:url("https://s2.51cto.com/images/100/blog/index/sprites_indexfp0908.png") -92px -199px;height:38px;width:38px}.webp .msg-index-box .icon-2{background-image:url("https://s2.51cto.com/images/100/blog/index/sprites_indexfp0908.png?x-oss-process=image/format,webp")}.msg-index-box h2{color:#4285f4;font-size:26px;line-height:1;margin-bottom:20px;margin-top:26px;text-align:center}.msg-index-box .con{color:#333;font-size:14px;line-height:24px;text-align:center}.msg-index-box .con a{color:#4285f4}.msg-index-box .code-bg{background:url("https://s2.51cto.com/images/100/blog/index/followcode.png") no-repeat;height:148px;margin:20px auto 0;width:148px}.webp .msg-index-box .code-bg{background-image:url("https://s2.51cto.com/images/100/blog/index/followcode.png?x-oss-process=image/format,webp")}.msg-index-box .code-bg img{width:100%}.msg-index-box .tipBox{line-height:20px;margin:0 auto;text-align:left;width:350px}.msg-index-box .tipBox .btn{color:#3e71f6;cursor:pointer}.msg-index-box .tipBox .txt{display:inline-block;line-height:12px;max-width:120px}.msg-index-box .btn-box{margin-top:20px;text-align:center}.msg-index-box .btn-box p{border-radius:6px;cursor:pointer;display:inline-block;font-size:14px;height:28px;line-height:28px;padding:0 16px}.msg-index-box .btn-1{border:1px solid #fff;color:#666;margin-right:46px}.msg-index-box .btn-2{border:1px solid #4285f4;color:#4285f4}.Header{top:30px}.hljs-center{text-align:center}.hljs-right{text-align:right}#result{overflow:auto}.detail-content-left s{text-decoration:line-through}.cto-mermaid{text-align:center}.cto-mermaid svg{max-width:100%}#result img{height:auto}.report-dialog-root{display:none}.mb24{margin-bottom:24px}.mb30{margin-bottom:30px}body{background:#f7f8f9}.Header{position:fixed;width:100%}.home-top{position:fixed;top:0;z-index:999}.detail-content-new{background:#f7f8f9;padding:107px 0 30px}.detail-content-new .jia1,.detail-content-new .jia2{color:#3e71f6}.detail-content-new .fixtitle{background:#fff;box-shadow:0 3px 10px #efefef;display:none;height:61px;left:0;line-height:61px;position:fixed;top:0;width:100%;z-index:999}.detail-content-new .fixtitle h3{box-sizing:border-box;color:#333;font-size:24px;overflow:hidden;padding:0 35px;text-overflow:ellipsis;white-space:nowrap;width:883px}.detail-content-new .fixtitle .messbox .checkFollow{background:#3e71f6;border:none;border-radius:0;border-radius:2px;box-sizing:border-box;color:#666;color:#fff;float:right;font-size:14px;height:32px;line-height:32px;margin:13px 0 0 15px;text-align:center;width:90px}.detail-content-new .fixtitle .messbox .checkFollow.in{background:0;border:1px solid #789bf9;color:#3e71f6;padding-left:0}.detail-content-new .fixtitle .messbox .checkFollow.on{background:#3e71f6;font-family:iconblog;padding-left:19px;text-align:left}.detail-content-new .fixtitle .messbox .checkFollow.on:before{content:"\e619";font-size:20px;vertical-align:bottom}.detail-content-new .fixtitle .messbox .checkFollow.on:hover{background:#3d62f5}.detail-content-new .fixtitle .messbox .checkFollow.off{background:#ddd;padding-left:0}.detail-content-new .fixtitle .messbox .name{color:#17233f;float:right;margin-left:10px;max-width:110px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .fixtitle .messbox strong{float:right;height:34px;margin-top:13px;position:relative;width:34px}.detail-content-new .fixtitle .messbox .avatar img{border-radius:34px;height:34px;width:34px}.detail-content-new .Page .common-section{background:#fff;border-radius:2px}.detail-content-new .Page .detail-content-left{float:left;width:874px}.detail-content-new .Page .detail-content-left.set-right{float:right}.detail-content-new .Page .detail-content-left .common-spacing{padding:15px 35px}.detail-content-new .Page .detail-content-left .content-taotao-h{display:none}.detail-content-new .Page .detail-content-left .article-detail{padding-bottom:27px}.detail-content-new .Page .detail-content-left .article-detail .title{word-wrap:break-word;font-size:37px;line-height:40px;margin-bottom:5px;padding:5px 0 10px;word-break:break-all}.detail-content-new .Page .detail-content-left .article-detail .title h1{color:#333;display:inline;font-size:28px}.detail-content-new .Page .detail-content-left .article-detail .title span{border-radius:2px;color:#fff;display:inline-block;font-size:14px;font-weight:400;height:26px;line-height:26px;margin-left:1px;padding:0 11px;vertical-align:middle}.detail-content-new .Page .detail-content-left .article-detail .title span:first-child{margin-left:20px}.detail-content-new .Page .detail-content-left .article-detail .title span.tuijian{background:rgba(225,105,44,.12);color:#e1692c}.detail-content-new .Page .detail-content-left .article-detail .title span.original{background:rgba(89,174,133,.12);color:#59ae85}.detail-content-new .Page .detail-content-left .article-detail .title span.reprint{background:rgba(230,154,58,.12);color:#e69a3a}.detail-content-new .Page .detail-content-left .article-detail .title span.translation{background:rgba(84,145,220,.12);color:#5491dc}.detail-content-new .Page .detail-content-left .article-detail .title span.type_selected{background:#e7eefe;color:#3e71f6}.detail-content-new .Page .detail-content-left .article-detail .messbox{background:#f9f9fa;border-radius:2px;color:#6b7486;padding:15px 15px 5px}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-line1{line-height:1}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-line1 a{color:#6b7486}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-line1 a:hover{color:#3e71f6}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-line1 .fl{padding-right:12px}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-line1 time{font-family:fontDIN}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-line1 #copyright-btn{cursor:pointer;font-size:12px;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;-khtml-user-select:none;user-select:none}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-line1 #copyright-btn:hover{color:#3e71f6}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-tag{margin-top:15px}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-tag strong{float:left;font-weight:400;margin-right:22px}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-tag strong em{font-style:normal;line-height:24px;margin-right:11px}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-tag strong a,.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-tag strong span{background:#efeff1;color:#5c6578;display:inline-block;font-size:12px;height:24px;line-height:24px;margin-bottom:10px;margin-right:13px;padding:0 8px}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-tag strong a:last-child,.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-tag strong span:last-child{margin-right:0}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-tag strong a.subject,.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-tag strong span.subject{background:#e6ebfa;color:#3e71f6}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-tag strong a.subject i,.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-tag strong span.subject i{float:left;font-size:12px;margin:0 4px 0 0}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-tag strong a:hover{color:#3e71f6}.detail-content-new .Page .detail-content-left .article-detail .messbox p.mess-tag strong b{color:#6b7486;font-family:fontDIN;font-size:14px;font-weight:400}.detail-content-new .Page .detail-content-left .article-detail .copytext{color:#9399a6;display:none;font-size:12px;margin-top:10px;word-break:break-all}.detail-content-new .Page .detail-content-left .article-detail .copytext a{color:#9399a6}.detail-content-new .Page .detail-content-left .article-detail .article-content-wrap{border-bottom:1px solid #f3f3f3;color:#17233f;font-size:16px;margin-bottom:30px;padding-bottom:30px;word-break:break-all}.detail-content-new .Page .detail-content-left .article-detail .article-content-wrap img{cursor:zoom-in;max-width:100%}.detail-content-new .Page .detail-content-left .article-detail .article-content-wrap .artical-content-bak{max-width:100%;padding:0 0 20px!important}.detail-content-new .Page .detail-content-left .article-detail .label-list{margin-top:20px;padding-left:90px;position:relative}.detail-content-new .Page .detail-content-left .article-detail .label-list .tag-text{color:#9399a6;display:inline;font-size:13px;line-height:35px;margin-right:15px;word-break:break-all}.detail-content-new .Page .detail-content-left .article-detail .label-list .tag-text:hover{color:#7d828c}.detail-content-new .Page .detail-content-left .article-detail .label-list .tag-text:nth-child(3n-2){color:#b6c2bb}.detail-content-new .Page .detail-content-left .article-detail .label-list .tag-text:nth-child(3n-2):hover{color:#9ea8a2}.detail-content-new .Page .detail-content-left .article-detail .label-list .tag-text:nth-child(3n-1){color:#e0d6d1}.detail-content-new .Page .detail-content-left .article-detail .label-list .tag-text:nth-child(3n-1):hover{color:#c7beb9}.detail-content-new .Page .detail-content-left .article-detail .label-list span{color:#17233f;font-size:16px;left:0;position:absolute;top:0}.detail-content-new .Page .detail-content-left .article-detail .label-list a{background:#f6f7f8;border-radius:2px;color:#6b7484;display:inline-block;height:30px;line-height:30px;margin:0 12px 15px 0;max-width:80%;overflow:hidden;padding:0 20px;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .detail-content-left .article-detail .label-list a.cur,.detail-content-new .Page .detail-content-left .article-detail .label-list a:hover{background:#3e71f6;color:#fff}.detail-content-new .Page .detail-content-left .article-detail .action-box{text-align:center}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li{display:inline-block;list-style:none;position:relative;width:105px}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li:last-child{margin-bottom:0}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li.share:hover .bdsharebuttonbox{display:block}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li .bdsharebuttonbox{left:8px}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong{display:inline-block;font-weight:400;position:relative;text-align:center;width:80px}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong.is-praise a i{background:url("https://s2.51cto.com/images/100/blog/old/zan1.png") no-repeat top;background-size:47px 47px;display:inline-block;height:47px;width:47px}.webp .detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong.is-praise a i{background-image:url("https://s2.51cto.com/images/100/blog/old/zan1.png?x-oss-process=image/format,webp")}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong.is-praise.on a i{background:url("https://s2.51cto.com/images/100/blog/old/zan2.png") no-repeat top;background-size:47px 47px}.webp .detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong.is-praise.on a i{background-image:url("https://s2.51cto.com/images/100/blog/old/zan2.png?x-oss-process=image/format,webp")}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong.is-praise.no-praise a i,.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong.is-praise.on.no-praise a i{background:url("https://s2.51cto.com/images/100/blog/old/zan.gif") no-repeat top;background-size:47px 47px}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong.favorites-opt a i{background:url("https://s2.51cto.com/images/100/blog/old/ping1.png") no-repeat top;background-size:47px 47px;display:inline-block;height:47px;width:47px}.webp .detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong.favorites-opt a i{background-image:url("https://s2.51cto.com/images/100/blog/old/ping1.png?x-oss-process=image/format,webp")}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong.favorites-opt.on a i{background:url("https://s2.51cto.com/images/100/blog/old/ping2.png") no-repeat top;background-size:47px 47px}.webp .detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong.favorites-opt.on a i{background-image:url("https://s2.51cto.com/images/100/blog/old/ping2.png?x-oss-process=image/format,webp")}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong.favorites-opt.no-favorites a i,.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong.favorites-opt.on.no-favorites a i{background:url("https://s2.51cto.com/images/100/blog/old/ping.gif") no-repeat top;background-size:47px 47px}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong:hover a{box-shadow:0 8px 16px 0 rgba(23,35,63,.12)}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong a{background:#fff;border:1px solid #f4f4f4;border-radius:47px;box-shadow:0 8px 16px 0 rgba(23,35,63,.04);display:block;height:47px;line-height:47px;margin:0 auto 5px;width:47px}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong a i{color:#818797}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong a i.blogshang,.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong a i.blogzan{font-size:19px}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong a i.blogshou{font-size:21px}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong a i.blogpinglun{font-size:19px}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong a i.blogfen{font-size:23px}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong a i.blogzhi{font-size:18px}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong span{color:#979da9;line-height:1}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong span b{font-weight:400}.detail-content-new .Page .detail-content-left .article-detail .action-box ul li strong.on a i{color:#3e71f6}.detail-content-new .Page .detail-content-left .article-detail .lists{margin-top:40px}.detail-content-new .Page .detail-content-left .article-detail .lists p{color:#818797;max-width:45%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .detail-content-left .article-detail .lists p a{color:#818797}.detail-content-new .Page .detail-content-left .article-detail .lists p a:hover{color:#17233f}.detail-content-new .Page .detail-content-left .article-detail .lists p:last-child{text-align:right}.detail-content-new .Page .detail-content-left .article-edit{margin-bottom:10px;margin-top:10px}.detail-content-new .Page .detail-content-left .article-edit a{color:#9399a6;display:inline-block;font-size:12px;height:23px;line-height:23px;margin-left:20px}.detail-content-new .Page .detail-content-left .article-edit a:hover{color:#3e71f6}.detail-content-new .Page .detail-content-left .article-edit a i{float:left;font-size:14px;margin-right:5px;opacity:.8}.detail-content-new .Page .detail-content-left .common-sub-title{border-bottom:1px solid #f5f5f5;height:48px;line-height:48px;margin-bottom:3px}.detail-content-new .Page .detail-content-left .common-sub-title h2,.detail-content-new .Page .detail-content-left .common-sub-title strong{color:#333;display:inline-block;font-size:20px}.detail-content-new .Page .detail-content-left .common-sub-title .more{color:#999}.detail-content-new .Page .detail-content-left .comment-textarea{padding-top:20px}.detail-content-new .Page .detail-content-left .comment-textarea .avatar{float:left;height:40px;margin-right:15px;position:relative;width:40px}.detail-content-new .Page .detail-content-left .comment-textarea .avatar img{border-radius:40px;height:40px;width:40px}.detail-content-new .Page .detail-content-left .comment-textarea .textarea-box{float:left;width:749px}.detail-content-new .Page .detail-content-left .comment-textarea .textarea-box .textarea-show{background:#fff;border:1px solid #e5e5e5;border-radius:2px;box-sizing:border-box;color:#818797;cursor:pointer;height:44px;line-height:44px;margin-bottom:20px;position:relative}.detail-content-new .Page .detail-content-left .comment-textarea .textarea-box .textarea-show span{display:inline-block;overflow:hidden;padding-left:15px;text-overflow:ellipsis;white-space:nowrap;width:80%}.detail-content-new .Page .detail-content-left .comment-textarea .textarea-box .textarea-show strong{background:#f5f5f5;border-left:1px solid #e5e5e5;display:inline-block;height:42px;line-height:42px;position:absolute;right:0;text-align:center;top:0;width:78px}.detail-content-new .Page .detail-content-left .comment-textarea .textarea-box .textarea-hide{display:none}.detail-content-new .Page .detail-content-left .comment-textarea .textarea-box .textarea-hide .top{margin-bottom:10px}.detail-content-new .Page .detail-content-left .comment-textarea .textarea-box .textarea-hide .top textarea{background:#fff;border:1px solid #e5e5e5;border-radius:2px;box-sizing:border-box;color:#17233f;height:78px;outline:0;padding:12px 15px;resize:none;width:100%}.detail-content-new .Page .detail-content-left .comment-textarea .textarea-box .textarea-hide .bot .publish-btn{background:#3e71f6;border-radius:2px;color:#fff;cursor:pointer;display:inline-block;height:35px;line-height:35px;text-align:center;width:110px}.detail-content-new .Page .detail-content-left .comment-textarea .textarea-box .textarea-hide .bot span{color:#9399a6;font-size:12px;line-height:35px;margin-right:16px}.detail-content-new .Page .detail-content-left .comment-num{border-bottom:1px solid #f5f5f5;color:#333;font-size:20px;height:56px;line-height:56px}.detail-content-new .Page .detail-content-left .comment-num span{color:#999}.detail-content-new .Page .detail-content-left .comment-num span b{font-family:fontDIN;font-weight:400}.detail-content-new .Page .detail-content-left .comment-num .sort{cursor:pointer;font-size:14px;font-weight:400;margin-left:15px}.detail-content-new .Page .detail-content-left .comment-num .sort.on{color:#3e71f6}.detail-content-new .Page .detail-content-left .comment-num .sort .iconblog{float:left;font-size:14px;margin-right:5px}.detail-content-new .Page .detail-content-left .comment-box{padding-bottom:27px}.detail-content-new .Page .detail-content-left .comment-List-box .floor-1{border-bottom:1px solid #f5f5f5;padding-top:25px}.detail-content-new .Page .detail-content-left .comment-List-box .floor-1.floor-n{display:none}.detail-content-new .Page .detail-content-left .comment-List-box .floor-2{padding-left:50px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List{display:flex;padding-bottom:25px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .avatar{float:left;height:40px;margin-right:10px;margin-top:4px;position:relative;width:40px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .avatar img{border-radius:40px;height:40px;width:40px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail{float:left;width:754px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail h3{color:#17233f;font-size:14px;height:28px;line-height:1;line-height:28px;margin-bottom:4px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail h3 .tag{background:#ebf1fe;border-radius:2px;color:#3e71f6;display:inline-block;font-size:12px;height:20px;line-height:20px;margin-left:7px;margin-top:4px;padding:0 8px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail h3 i{font-style:normal;margin:0 12px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail h3 .time{color:#9399a6;font-family:fontDIN;font-size:14px;font-weight:400}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail .reply-content{background:#f9f9fa;border-radius:2px;color:#9399a6;font-size:16px;margin-bottom:12px;margin-top:17px;padding:10px 15px;word-break:break-word}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail .content{color:#17233f;font-size:16px;margin-bottom:12px;word-break:break-word}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail .action{height:23px;line-height:23px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail .action span{color:#9399a6;cursor:pointer;float:left;margin-right:20px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail .action span:hover i{color:#818797}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail .action span.on,.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail .action span.on i{color:#3e71f6}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail .action span i{color:#c5c8cf;float:left;margin-right:6px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail .action span b{font-weight:400}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail .textarea-hide{margin-top:25px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail .textarea-hide .top{margin-bottom:10px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail .textarea-hide .top textarea{background:#fff;border:1px solid #e5e5e5;border-radius:2px;box-sizing:border-box;color:#17233f;height:78px;outline:0;padding:12px 15px;resize:none;width:100%}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail .textarea-hide .bot .publish-btn{background:#3e71f6;border-radius:2px;color:#fff;cursor:pointer;display:inline-block;font-weight:400;height:32px;line-height:32px;text-align:center;width:110px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail .textarea-hide .bot span{color:#9399a6;cursor:pointer;line-height:35px;margin-right:16px}.detail-content-new .Page .detail-content-left .comment-List-box .more-toggle{color:#17233f;cursor:pointer;display:inline-block;padding-bottom:25px;padding-right:20px;position:relative}.detail-content-new .Page .detail-content-left .comment-List-box .more-toggle:hover,.detail-content-new .Page .detail-content-left .comment-List-box .more-toggle:hover i{color:#3e71f6}.detail-content-new .Page .detail-content-left .comment-List-box .more-toggle i{color:#9399a6;position:absolute;right:0;top:-2px;transform:rotate(-90deg);-ms-transform:rotate(-90deg);-moz-transform:rotate(-90deg);-webkit-transform:rotate(-90deg);-o-transform:rotate(-90deg)}.detail-content-new .Page .detail-content-left .pagination{font-size:12px;margin:60px auto 0;text-align:center}.detail-content-new .Page .detail-content-left .pagination li{border-radius:2px;color:#666;display:inline-block;font-size:14px;height:30px;line-height:30px;margin:0 6px;overflow:hidden;text-align:center}.detail-content-new .Page .detail-content-left .pagination li.disabled,.detail-content-new .Page .detail-content-left .pagination li.disabled:hover{color:#333;cursor:default;font-size:12px;padding:0}.detail-content-new .Page .detail-content-left .pagination li:last-child.last.disabled{color:#999;font-size:12px}.detail-content-new .Page .detail-content-left .pagination li a{background:#f3f4f5;color:#666;display:block;font-family:fontDIN;height:30px;line-height:30px;padding:0;text-align:center;width:30px}.detail-content-new .Page .detail-content-left .pagination li a:hover{background:#edeeef;color:#333;font-size:14px}.detail-content-new .Page .detail-content-left .pagination li.active a{color:#333;font-size:14px}.detail-content-new .Page .detail-content-left .pagination li.active b{background:#4973ee;color:#fff;display:block;font-family:fontDIN;font-weight:400;line-height:30px;padding:0;text-align:center;width:30px}.detail-content-new .Page .detail-content-left .pagination li.first a,.detail-content-new .Page .detail-content-left .pagination li.first_page a,.detail-content-new .Page .detail-content-left .pagination li.last a,.detail-content-new .Page .detail-content-left .pagination li.last_page a,.detail-content-new .Page .detail-content-left .pagination li.next a,.detail-content-new .Page .detail-content-left .pagination li.prev a{text-align:center;width:30px}.detail-content-new .Page .detail-content-left .pagination li.next:hover a,.detail-content-new .Page .detail-content-left .pagination li.prev:hover a{font-size:14px}.detail-content-new .Page .detail-content-left .pagination li:last-child.last.noLink{background:0;border-color:transparent;margin:0}.detail-content-new .Page .detail-content-left .pagination li.prev a{background:#f3f4f5;font-family:iconblog;font-size:20px;height:30px;width:30px}.detail-content-new .Page .detail-content-left .pagination li.prev a:before{content:"\e62d"}.detail-content-new .Page .detail-content-left .pagination li.prev a:hover{background:#edeeef;font-size:20px}.detail-content-new .Page .detail-content-left .pagination li.next a{background:#f3f4f5;font-family:iconblog;font-size:20px;height:30px;width:30px}.detail-content-new .Page .detail-content-left .pagination li.next a:before{content:"\e62e"}.detail-content-new .Page .detail-content-left .pagination li.next a:hover{background:#edeeef;font-size:20px}.detail-content-new .Page .detail-content-left .pagination li.first,.detail-content-new .Page .detail-content-left .pagination li.last{margin:0 2px}.detail-content-new .Page .detail-content-left .pagination li.first a,.detail-content-new .Page .detail-content-left .pagination li.last a{background:0;width:auto}.detail-content-new .Page .detail-content-left .recommend-about li{border-bottom:1px solid #f5f5f5;list-style:none;padding:17px 0 16px;position:relative}.detail-content-new .Page .detail-content-left .recommend-about li .list-subjuct{background:#e9f1ff;border-radius:16px;bottom:17px;box-sizing:border-box;display:none;height:22px;line-height:22px;max-width:250px;overflow:hidden;padding:0 13px;position:absolute;right:0;text-overflow:ellipsis;white-space:nowrap;z-index:2}.detail-content-new .Page .detail-content-left .recommend-about li .list-subjuct .fontsizeIcon{color:#3e71f6;font-size:14px}.detail-content-new .Page .detail-content-left .recommend-about li .list-subjuct span{color:#3e71f6;font-family:PingFang SC;font-size:12px;font-weight:500}.detail-content-new .Page .detail-content-left .recommend-about li:last-child{border-bottom:none}.detail-content-new .Page .detail-content-left .recommend-about li .tag-box{display:none;margin:10px 0 0;overflow:hidden}.detail-content-new .Page .detail-content-left .recommend-about li .tag-box .tag-item{border:1px solid #f4f5f6;border-radius:2px;box-sizing:border-box;color:#c1c5cc;float:left;font-size:12px;line-height:12px;margin-right:9px;padding:4px 8px}.detail-content-new .Page .detail-content-left .recommend-about li .tag-box .tag-item:hover{color:#3e71f6}.detail-content-new .Page .detail-content-left .recommend-about li a,.detail-content-new .Page .detail-content-left .recommend-about li:hover .list-subjuct,.detail-content-new .Page .detail-content-left .recommend-about li:hover .tag-box{display:block}.detail-content-new .Page .detail-content-left .recommend-about li .pic{background:#f7f7f8;float:right;height:45px;line-height:45px;margin-left:15px;margin-top:6px;position:relative;text-align:center;width:74px}.detail-content-new .Page .detail-content-left .recommend-about li .pic img{border-radius:2px;bottom:0;left:0;margin:auto;max-height:45px;max-width:74px;position:absolute;right:0;top:0}.detail-content-new .Page .detail-content-left .recommend-about li .pic span{background:rgba(0,0,0,.4);border-radius:1px;bottom:4px;color:#f5f5f5;font-size:12px;height:16px;line-height:20px;position:absolute;right:4px;text-align:center;width:25px}.detail-content-new .Page .detail-content-left .recommend-about li .tit{color:#17233f;font-size:16px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .detail-content-left .recommend-about li .tit em{color:#cd4b50;font-style:normal}.detail-content-new .Page .detail-content-left .recommend-about li .tit:hover{color:#3e71f6}.detail-content-new .Page .detail-content-left .recommend-about li .tit:hover em{color:#cd4b50}.detail-content-new .Page .detail-content-left .recommend-about li p{color:#9399a6;margin-top:5px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .detail-content-left .recommend-about li p em{color:#cd4b50;font-style:normal}.detail-content-new .Page .detail-content-left .recommend-cloumn li{border-bottom:1px solid #f5f5f5;list-style:none;padding:25px 0}.detail-content-new .Page .detail-content-left .recommend-cloumn li:last-child{border-bottom:none}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dt{float:left;height:116px;margin-right:10px;width:213px}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dt img{height:116px;width:213px}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dd{float:left;width:580px}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dd h3{font-weight:400;line-height:1;margin:5px 0 10px}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dd h3:hover .cloumn-subscribe{display:block}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dd h3 .title{display:inline-block;max-width:455px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dd h3 .title:hover{color:#3e71f6}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dd h3 .cloumn-subscribe{color:#3e71f6;display:none;float:right;font-size:12px}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dd .dec{color:#9399a6;line-height:1;margin-bottom:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dd .mess{color:#9399a6;line-height:1;margin-bottom:20px}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dd .mess b{background:#9399a6;display:inline-block;height:14px;margin:0 6px;width:1px}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dd .price{line-height:1}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dd .price span{color:#17233f;padding-right:18px}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dd .price strong{color:#9399a6;font-weight:400}.detail-content-new .Page .detail-content-left .recommend-course{margin:20px 0 15px}.detail-content-new .Page .detail-content-left .recommend-course li{float:left;list-style:none;margin-left:21px;width:185px}.detail-content-new .Page .detail-content-left .recommend-course li:first-child{margin-left:0}.detail-content-new .Page .detail-content-left .recommend-course li:nth-child(5),.detail-content-new .Page .detail-content-left .recommend-course li:nth-child(6){display:none}.detail-content-new .Page .detail-content-left .recommend-course li .pic{height:112px;width:185px}.detail-content-new .Page .detail-content-left .recommend-course li .pic img{border-radius:5px;height:112px;width:185px}.detail-content-new .Page .detail-content-left .recommend-course li .main{padding-top:12px}.detail-content-new .Page .detail-content-left .recommend-course li .main h3{font-weight:400;line-height:1;margin-bottom:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .detail-content-left .recommend-course li .main h3 a{color:#17233f}.detail-content-new .Page .detail-content-left .recommend-course li .main h3 a:hover{color:#3e71f6}.detail-content-new .Page .detail-content-left .recommend-course li .main .num{color:#b4b8c1;line-height:1;margin-bottom:13px}.detail-content-new .Page .detail-content-left .recommend-course li .main .price{color:#17233f;font-size:12px;line-height:1}.detail-content-new .Page .detail-content-right{float:right;width:302px}.detail-content-new .Page .detail-content-right .common-spacing{padding:8px 20px 12px}.detail-content-new .Page .detail-content-right .common-sub-title{border-bottom:1px solid #f5f5f5;height:38px;line-height:38px}.detail-content-new .Page .detail-content-right .common-sub-title h2,.detail-content-new .Page .detail-content-right .common-sub-title strong{color:#333;display:inline-block;font-size:16px;max-width:215px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .detail-content-right .common-sub-title .more{color:#999}.detail-content-new .Page .detail-content-right .fix-table{box-sizing:border-box;position:fixed;top:100px;width:298px}.detail-content-new .Page .detail-content-right .user-intr{padding:25px 10px}.detail-content-new .Page .detail-content-right .user-intr .top .avatar .avatar-img{height:65px;margin:0 auto;position:relative;width:65px}.detail-content-new .Page .detail-content-right .user-intr .top .avatar .avatar-img img{border-radius:65px;height:65px;width:65px}.detail-content-new .Page .detail-content-right .user-intr .top .username{color:#333;font-size:16px;font-weight:700;line-height:1;padding:13px 0 8px;text-align:center}.detail-content-new .Page .detail-content-right .user-intr .top .username a{color:#333;display:inline-block;font-size:16px;height:22px;line-height:22px}.detail-content-new .Page .detail-content-right .user-intr .top .username a .blog-user{display:inline-block;height:22px;max-width:185px;overflow:hidden;text-overflow:ellipsis;vertical-align:bottom;white-space:nowrap;word-break:break-all}.detail-content-new .Page .detail-content-right .user-intr .top .username .icon{display:inline-block;margin-left:-2px;position:relative;vertical-align:middle}.detail-content-new .Page .detail-content-right .user-intr .top .username .icon ul{display:inline-block}.detail-content-new .Page .detail-content-right .user-intr .top .username .icon ul li{float:left;height:18px;list-style:none;margin-left:5px;width:16px}.detail-content-new .Page .detail-content-right .user-intr .top .username .icon ul li a{background:url("https://s2.51cto.com/images/100/blog/sprites/sprites_identity.png") no-repeat;background-size:16px auto;display:inline-block;height:18px;width:16px}.webp .detail-content-new .Page .detail-content-right .user-intr .top .username .icon ul li a{background-image:url("https://s2.51cto.com/images/100/blog/sprites/sprites_identity.png?x-oss-process=image/format,webp")}.detail-content-new .Page .detail-content-right .user-intr .top .username .icon ul li a.qybz{background-position:0 -80px}.detail-content-new .Page .detail-content-right .user-intr .top .username .icon ul li a.zj{background-position:0 -60px}.detail-content-new .Page .detail-content-right .user-intr .top .username .icon ul li a.bkzx{background-position:0 0}.detail-content-new .Page .detail-content-right .user-intr .top .username .icon ul li a.tjzx{background-position:0 -40px}.detail-content-new .Page .detail-content-right .user-intr .top .username .icon ul li a.js{background-position:0 -20px}.detail-content-new .Page .detail-content-right .user-intr .top .username .icon ul li a.zjbz{background-position:0 -108px;background-size:14px auto}.detail-content-new .Page .detail-content-right .user-intr .top .username .icon ul li a.top_hr{background-position:0 -88px;background-size:14px auto}.detail-content-new .Page .detail-content-right .user-intr .top .username .icon ul li a.mrzx{background-position:-6px -257px;background-size:28px auto}.detail-content-new .Page .detail-content-right .user-intr .bottom{margin-bottom:8px}.detail-content-new .Page .detail-content-right .user-intr .bottom.loading{background:url("https://s2.51cto.com/images/100/blog/old/loading1.gif") no-repeat center 36px}.detail-content-new .Page .detail-content-right .user-intr .bottom .lines{background:#f5f5f5;height:1px;margin:0 10px}.detail-content-new .Page .detail-content-right .user-intr .bottom .num-name{text-align:center}.detail-content-new .Page .detail-content-right .user-intr .bottom .num-name:first-child ul{padding-top:0}.detail-content-new .Page .detail-content-right .user-intr .bottom .num-name:last-child ul{padding-top:11px}.detail-content-new .Page .detail-content-right .user-intr .bottom .num-name ul{display:inline-block;line-height:1;padding:18px 0 6px;width:100%}.detail-content-new .Page .detail-content-right .user-intr .bottom .num-name ul li{float:left;font-size:14px;list-style:none;text-align:center;width:25%}.detail-content-new .Page .detail-content-right .user-intr .bottom .num-name ul li .num{color:#17233f;font-family:fontDIN-medium;font-size:18px;padding-bottom:8px}.detail-content-new .Page .detail-content-right .user-intr .bottom .num-name ul li .num a{color:#17233f;font-family:fontDIN-medium;font-size:18px}.detail-content-new .Page .detail-content-right .user-intr .bottom .num-name ul li .num a:hover{color:#3e71f6}.detail-content-new .Page .detail-content-right .user-intr .bottom .num-name ul li .num span{font-size:17px}.detail-content-new .Page .detail-content-right .user-intr .bottom .num-name ul li .label-name{color:#9399a6;font-size:12px;line-height:1}.detail-content-new .Page .detail-content-right .user-intr .bottom .num-name ul li .label-name a{color:#9399a6}.detail-content-new .Page .detail-content-right .user-intr .bottom .num-name ul li .label-name a:hover{color:#3e71f6}.detail-content-new .Page .detail-content-right .user-intr .operating{margin-top:8px;padding-left:16px}.detail-content-new .Page .detail-content-right .user-intr .operating.operating2 button{display:block;float:none;margin:0 auto}.detail-content-new .Page .detail-content-right .user-intr .operating button{background-color:#fff;background-image:none!important;border:1px solid #789bf9;border-radius:0;border-radius:2px;cursor:pointer;float:left;height:35px;line-height:35px;padding:0;width:110px}.detail-content-new .Page .detail-content-right .user-intr .operating button:hover{border:1px solid #3d62f5}.detail-content-new .Page .detail-content-right .user-intr .operating button:hover a,.detail-content-new .Page .detail-content-right .user-intr .operating button:hover a i{color:#3d62f5}.detail-content-new .Page .detail-content-right .user-intr .operating button a{color:#3e71f6;display:inline-block;font-size:14px;height:35px;line-height:35px}.detail-content-new .Page .detail-content-right .user-intr .operating button a i{float:left;font-size:18px;margin-right:5px}.detail-content-new .Page .detail-content-right .user-intr .operating .checkFollow{background:#3e71f6;border:none;border-radius:0;border-radius:2px;box-sizing:border-box;color:#666;color:#fff;float:left;font-size:14px;height:35px;line-height:35px;margin:0 25px 0 0;text-align:center;width:110px}.detail-content-new .Page .detail-content-right .user-intr .operating .checkFollow.in,.detail-content-new .Page .detail-content-right .user-intr .operating .checkFollow.mutual{background:0;border:1px solid #789bf9;color:#3e71f6;padding-left:0}.detail-content-new .Page .detail-content-right .user-intr .operating .checkFollow.on{background:#3e71f6;font-family:iconblog;padding-left:30px;text-align:left}.detail-content-new .Page .detail-content-right .user-intr .operating .checkFollow.on:before{content:"\e619";font-size:20px;vertical-align:bottom}.detail-content-new .Page .detail-content-right .user-intr .operating .checkFollow.on:hover{background:#3d62f5}.detail-content-new .Page .detail-content-right .user-intr .operating .checkFollow.off{background:#ddd;padding-left:0}.detail-content-new .Page .detail-content-right .blogger-ranking .rank-list{margin-bottom:10px}.detail-content-new .Page .detail-content-right .blogger-ranking .rank-list a{box-sizing:border-box;color:#6c7486;display:block;height:48px;line-height:48px;padding-left:25px;position:relative;width:100%}.detail-content-new .Page .detail-content-right .blogger-ranking .rank-list a:after{background:url("https://s2.51cto.com/images/100/blog/list/css_sprites_0913.png") no-repeat;content:"";height:90px;position:absolute;right:-5px;top:-20px;transform:scale(.45);width:90px}.webp .detail-content-new .Page .detail-content-right .blogger-ranking .rank-list a:after{background-image:url("https://s2.51cto.com/images/100/blog/list/css_sprites_0913.png?x-oss-process=image/format,webp")}.detail-content-new .Page .detail-content-right .blogger-ranking .rank-list a.new{background:url("https://s2.51cto.com/images/100/blog/list/blist1.png") no-repeat;background-size:100% 100%}.webp .detail-content-new .Page .detail-content-right .blogger-ranking .rank-list a.new{background-image:url("https://s2.51cto.com/images/100/blog/list/blist1.png?x-oss-process=image/format,webp")}.detail-content-new .Page .detail-content-right .blogger-ranking .rank-list a.new:after{background-position:-2px -2px}.detail-content-new .Page .detail-content-right .blogger-ranking .rank-list a.week{background:url("https://s2.51cto.com/images/100/blog/list/blist3.png") no-repeat;background-size:100% 100%}.webp .detail-content-new .Page .detail-content-right .blogger-ranking .rank-list a.week{background-image:url("https://s2.51cto.com/images/100/blog/list/blist3.png?x-oss-process=image/format,webp")}.detail-content-new .Page .detail-content-right .blogger-ranking .rank-list a.week:after{background-position:-96px -2px}.detail-content-new .Page .detail-content-right .blogger-ranking .rank-list a.default{background:url("https://s2.51cto.com/images/100/blog/list/blist2.png") no-repeat;background-size:100% 100%}.webp .detail-content-new .Page .detail-content-right .blogger-ranking .rank-list a.default{background-image:url("https://s2.51cto.com/images/100/blog/list/blist2.png?x-oss-process=image/format,webp")}.detail-content-new .Page .detail-content-right .blogger-ranking .rank-list a.default:after{background-position:-2px -96px}.detail-content-new .Page .detail-content-right .blogger-ranking .rank-list a b{font-family:fontDIN-bold;font-weight:700;margin-left:5px}.detail-content-new .Page .detail-content-right .blogger-ranking .rank-list:last-child{margin-bottom:0}.detail-content-new .Page .detail-content-right .identify-list{padding:0 14px 5px}.detail-content-new .Page .detail-content-right .identify-list .item{padding-bottom:5px;text-align:center}.detail-content-new .Page .detail-content-right .identify-list .item span{box-sizing:border-box;display:inline-block;height:25px;line-height:25px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .detail-content-right .identify-list .item span i{float:left;height:22px;margin-right:4px;width:20px}.detail-content-new .Page .detail-content-right .identify-list .item.item1 span i{background:url("https://s2.51cto.com/images/100/blog/sprites/sprites_detail_new.png") no-repeat;background-position:-5px -5px;background-size:90px auto}.webp .detail-content-new .Page .detail-content-right .identify-list .item.item1 span i{background-image:url("https://s2.51cto.com/images/100/blog/sprites/sprites_detail_new.png?x-oss-process=image/format,webp")}.detail-content-new .Page .detail-content-right .identify-list .item.item2 span i{background:url("https://s2.51cto.com/images/100/blog/sprites/sprites_detail_new.png") no-repeat;background-position:-35px -5px;background-size:90px auto}.webp .detail-content-new .Page .detail-content-right .identify-list .item.item2 span i{background-image:url("https://s2.51cto.com/images/100/blog/sprites/sprites_detail_new.png?x-oss-process=image/format,webp")}.detail-content-new .Page .detail-content-right .identify-list .item.item3 span i{background:url("https://s2.51cto.com/images/100/blog/sprites/sprites_detail_new.png") no-repeat;background-position:-65px -5px;background-size:90px auto}.webp .detail-content-new .Page .detail-content-right .identify-list .item.item3 span i{background-image:url("https://s2.51cto.com/images/100/blog/sprites/sprites_detail_new.png?x-oss-process=image/format,webp")}.detail-content-new .Page .detail-content-right .identify-list .item.item4 span i{background:url("https://s2.51cto.com/images/100/blog/sprites/sprites_detail_new.png") no-repeat;background-position:-5px -37px;background-size:90px auto}.webp .detail-content-new .Page .detail-content-right .identify-list .item.item4 span i{background-image:url("https://s2.51cto.com/images/100/blog/sprites/sprites_detail_new.png?x-oss-process=image/format,webp")}.detail-content-new .Page .detail-content-right .medal-list{display:flex;flex-wrap:wrap;margin-bottom:6px;padding:0 11px}.detail-content-new .Page .detail-content-right .medal-list .item{cursor:pointer;display:flex;height:42.5px;justify-content:center;margin-bottom:9px;width:52px}.detail-content-new .Page .detail-content-right .medal-list .item img{height:40.5px;width:36px}.detail-content-new .Page .detail-content-right .common-list{padding:7px 0 3px}.detail-content-new .Page .detail-content-right .common-list.common-list-dot li .title a,.detail-content-new .Page .detail-content-right .common-list.common-list-dot li a.title{padding-left:10px}.detail-content-new .Page .detail-content-right .common-list.common-list-dot li .title a:before,.detail-content-new .Page .detail-content-right .common-list.common-list-dot li a.title:before{background:#b9bdc5;border-radius:4px;content:"";display:inline-block;height:4px;left:0;position:absolute;top:10px;width:4px}.detail-content-new .Page .detail-content-right .common-list#classification-list li a:hover span{color:#3e71f6}.detail-content-new .Page .detail-content-right .common-list#classification-list li span:first-child{display:inline-block;max-width:206px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .detail-content-right .common-list#classification-list li span:last-child{color:#5c6578;float:right}.detail-content-new .Page .detail-content-right .common-list li{list-style:none;padding:5px 0}.detail-content-new .Page .detail-content-right .common-list li:last-child{padding-bottom:0}.detail-content-new .Page .detail-content-right .common-list li a{color:#17233f;display:block;font-size:14px;font-weight:400;overflow:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .detail-content-right .common-list li a:hover{color:#3e71f6}.detail-content-new .Page .detail-content-right .common-list li .dec{color:#9399a6;font-size:12px;overflow:hidden;padding-left:10px;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .detail-content-right .common-list li .dec a{color:#9399a6;font-size:12px}.detail-content-new .Page .detail-content-right .common-list-lines{background:#f5f5f5;height:1px;margin-bottom:15px;margin-top:15px}.detail-content-new .Page .detail-content-right .years{color:#17233f}.detail-content-new .Page .detail-content-right .years a{color:#17233f;display:inline-block}.detail-content-new .Page .detail-content-right .years a:hover{color:#3e71f6}.detail-content-new .Page .detail-content-right .months{margin-top:10px}.detail-content-new .Page .detail-content-right .months a{border:1px solid #f0f0f0;display:block;float:left;height:55px;margin:0 20px 10px 0;text-align:center;width:48px}.detail-content-new .Page .detail-content-right .months a:hover span,.detail-content-new .Page .detail-content-right .months a:hover strong{color:#3e71f6}.detail-content-new .Page .detail-content-right .months a:nth-child(4n){margin-right:0}.detail-content-new .Page .detail-content-right .months a span{color:#9399a6;display:block;margin-bottom:2px;padding:1px 0;position:relative}.detail-content-new .Page .detail-content-right .months a span:after{background:#f5f5f5;bottom:0;content:"";height:1px;left:50%;margin-left:-12px;position:absolute;width:25px}.detail-content-new .Page .detail-content-right .months a strong{display:block;font-weight:400}.detail-content-new .Page .detail-content-right .nowYear{margin-top:15px}.detail-content-new .Page .detail-content-right .otherYear .years a{float:left;padding:3px 0;width:50%}.detail-content-new .Page .detail-content-right .directory{max-height:402px;overflow-x:hidden}.detail-content-new .Page .detail-content-right .directory::-webkit-scrollbar{display:none}.detail-content-new .Page .detail-content-right .directory-list{border-left:2px solid #f8f8f9;margin-bottom:20px;margin-top:12px;padding-left:12px}.detail-content-new .Page .detail-content-right .directory-list li{list-style:none}.detail-content-new .Page .detail-content-right .directory-list li:first-child{margin-bottom:7px}.detail-content-new .Page .detail-content-right .directory-list li span{cursor:pointer;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .detail-content-right .directory-list li:hover span{color:#3e71f6}.detail-content-new .Page .detail-content-right .directory-list li.lv1{margin-bottom:7px}.detail-content-new .Page .detail-content-right .directory-list li.lv1.on .title span{color:#3e71f6}.detail-content-new .Page .detail-content-right .directory-list li.lv1.on .title:before{background:#3e71f6;content:"";display:inline-block;height:18px;left:-14px;position:absolute;top:3px;width:2px}.detail-content-new .Page .detail-content-right .directory-list li.lv1 .title{font-weight:400;position:relative}.detail-content-new .Page .detail-content-right .directory-list li.lv2,.detail-content-new .Page .detail-content-right .directory-list li.lv3{margin-bottom:5px}.detail-content-new .Page .detail-content-right .directory-list li.lv2.on .title span,.detail-content-new .Page .detail-content-right .directory-list li.lv3.on .title span{color:#3e71f6}.detail-content-new .Page .detail-content-right .directory-list li.lv2 .title,.detail-content-new .Page .detail-content-right .directory-list li.lv3 .title{font-size:12px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .detail-content-right .directory-list li.lv2 .title:before,.detail-content-new .Page .detail-content-right .directory-list li.lv3 .title:before{background:#b9bdc5;border-radius:4px;content:"";float:left;height:4px;margin:8px 6px 0 0;width:4px}.detail-content-new .Page .detail-content-right .directory-list li.lv2.lv3,.detail-content-new .Page .detail-content-right .directory-list li.lv3.lv3{margin-left:12px}.detail-content-new .Page .detail-content-right .label-list .tag-text{color:#9399a6;display:inline;font-size:13px;line-height:35px;margin-right:15px;word-break:break-all}.detail-content-new .Page .detail-content-right .label-list .tag-text:hover{color:#7d828c}.detail-content-new .Page .detail-content-right .label-list .tag-text:nth-child(3n-2){color:#b6c2bb}.detail-content-new .Page .detail-content-right .label-list .tag-text:nth-child(3n-2):hover{color:#9ea8a2}.detail-content-new .Page .detail-content-right .label-list .tag-text:nth-child(3n-1){color:#e0d6d1}.detail-content-new .Page .detail-content-right .label-list .tag-text:nth-child(3n-1):hover{color:#c7beb9}.detail-content-new .Page .detail-content-directory{display:none;position:fixed;width:302px}.detail-content-new .Page .detail-content-directory .common-spacing{padding:8px 20px 12px}.detail-content-new .Page .detail-content-directory .common-sub-title{border-bottom:1px solid #efeff1;height:38px;line-height:38px}.detail-content-new .Page .detail-content-directory .common-sub-title h2,.detail-content-new .Page .detail-content-directory .common-sub-title strong{color:#333;display:inline-block;font-size:16px;max-width:215px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .detail-content-directory .common-sub-title .iconblog{color:#9399a6;cursor:pointer;float:right;font-size:12px;font-weight:700}.detail-content-new .Page .detail-content-directory .common-sub-title .iconblog:hover{color:#313d54}.detail-content-new .Page .common-content-directory.fix-table{box-sizing:border-box;position:fixed;top:100px;width:298px}.detail-content-new .Page .common-content-directory .directory{max-height:402px;overflow-x:hidden}.detail-content-new .Page .common-content-directory .directory::-webkit-scrollbar{display:none}.detail-content-new .Page .common-content-directory .directory-list{border-left:2px solid #f8f8f9;margin-bottom:20px;margin-top:12px;padding-left:12px}.detail-content-new .Page .common-content-directory .directory-list li{list-style:none}.detail-content-new .Page .common-content-directory .directory-list li:first-child{margin-bottom:7px}.detail-content-new .Page .common-content-directory .directory-list li span{cursor:pointer;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .common-content-directory .directory-list li:hover span{color:#3e71f6}.detail-content-new .Page .common-content-directory .directory-list li.lv1{margin-bottom:7px}.detail-content-new .Page .common-content-directory .directory-list li.lv1.on .title span{color:#3e71f6}.detail-content-new .Page .common-content-directory .directory-list li.lv1.on .title:before{background:#3e71f6;content:"";display:inline-block;height:18px;left:-14px;position:absolute;top:3px;width:2px}.detail-content-new .Page .common-content-directory .directory-list li.lv1 .title{font-weight:400;position:relative}.detail-content-new .Page .common-content-directory .directory-list li.lv2,.detail-content-new .Page .common-content-directory .directory-list li.lv3,.detail-content-new .Page .common-content-directory .directory-list li.lv4{margin-bottom:5px}.detail-content-new .Page .common-content-directory .directory-list li.lv2.on .title span,.detail-content-new .Page .common-content-directory .directory-list li.lv3.on .title span,.detail-content-new .Page .common-content-directory .directory-list li.lv4.on .title span{color:#3e71f6}.detail-content-new .Page .common-content-directory .directory-list li.lv2 .title,.detail-content-new .Page .common-content-directory .directory-list li.lv3 .title,.detail-content-new .Page .common-content-directory .directory-list li.lv4 .title{font-size:12px;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.detail-content-new .Page .common-content-directory .directory-list li.lv2 .title:before,.detail-content-new .Page .common-content-directory .directory-list li.lv3 .title:before,.detail-content-new .Page .common-content-directory .directory-list li.lv4 .title:before{background:#b9bdc5;border-radius:4px;content:"";float:left;height:4px;margin:8px 6px 0 0;width:4px}.detail-content-new .Page .common-content-directory .directory-list li.lv2.lv3,.detail-content-new .Page .common-content-directory .directory-list li.lv3.lv3,.detail-content-new .Page .common-content-directory .directory-list li.lv4.lv3{margin-left:12px}.detail-content-new .Page .common-content-directory .directory-list li.lv2.lv4,.detail-content-new .Page .common-content-directory .directory-list li.lv3.lv4,.detail-content-new .Page .common-content-directory .directory-list li.lv4.lv4{margin-left:24px}.action-aside{left:50%;margin:-265px 0 0 -703px;position:fixed;top:50%;z-index:999}.action-aside.action-aside-right{bottom:200px;left:auto;margin:0;right:30px;top:auto}.action-aside ul li{list-style:none;margin-bottom:15px;position:relative}.action-aside ul li:last-child{margin-bottom:0}.action-aside ul li.share:hover .bdsharebuttonbox{display:block}.action-aside ul li.scrollTop{display:none}.action-aside ul li strong{display:inline-block;font-weight:400;position:relative;text-align:center;width:80px}.action-aside ul li strong:hover a{box-shadow:0 8px 16px 0 rgba(23,35,63,.12)}.action-aside ul li strong.is-praise a i{background:url("https://s2.51cto.com/images/100/blog/old/zan1.png") no-repeat top;background-size:47px 47px;display:inline-block;height:47px;width:47px}.webp .action-aside ul li strong.is-praise a i{background-image:url("https://s2.51cto.com/images/100/blog/old/zan1.png?x-oss-process=image/format,webp")}.action-aside ul li strong.is-praise.on a i{background:url("https://s2.51cto.com/images/100/blog/old/zan2.png") no-repeat top;background-size:47px 47px}.webp .action-aside ul li strong.is-praise.on a i{background-image:url("https://s2.51cto.com/images/100/blog/old/zan2.png?x-oss-process=image/format,webp")}.action-aside ul li strong.is-praise.no-praise a i,.action-aside ul li strong.is-praise.on.no-praise a i{background:url("https://s2.51cto.com/images/100/blog/old/zan.gif") no-repeat top;background-size:47px 47px}.action-aside ul li strong.favorites-opt a i{background:url("https://s2.51cto.com/images/100/blog/old/ping1.png") no-repeat top;background-size:47px 47px;display:inline-block;height:47px;width:47px}.webp .action-aside ul li strong.favorites-opt a i{background-image:url("https://s2.51cto.com/images/100/blog/old/ping1.png?x-oss-process=image/format,webp")}.action-aside ul li strong.favorites-opt.on a i{background:url("https://s2.51cto.com/images/100/blog/old/ping2.png") no-repeat top;background-size:47px 47px}.webp .action-aside ul li strong.favorites-opt.on a i{background-image:url("https://s2.51cto.com/images/100/blog/old/ping2.png?x-oss-process=image/format,webp")}.action-aside ul li strong.favorites-opt.no-favorites a i,.action-aside ul li strong.favorites-opt.on.no-favorites a i{background:url("https://s2.51cto.com/images/100/blog/old/ping.gif") no-repeat top;background-size:47px 47px}.action-aside ul li strong.sign{cursor:pointer}.action-aside ul li strong.sign a{position:relative}.action-aside ul li strong.sign a .dot{background:#e90d31;border-radius:50%;content:"";display:inline-block;height:5px;position:absolute;right:13px;top:10px;width:5px}.action-aside ul li strong.sign a i{font-size:24px}.action-aside ul li strong a{background:#fff;border:1px solid #f4f4f4;border-radius:47px;box-shadow:0 8px 16px 0 rgba(23,35,63,.04);display:block;height:47px;line-height:47px;margin:0 auto 5px;width:47px}.action-aside ul li strong a i{color:#8a92a5}.action-aside ul li strong a i.blogshang,.action-aside ul li strong a i.blogzan{font-size:19px}.action-aside ul li strong a i.blogshou{font-size:21px}.action-aside ul li strong a i.blogpinglun{font-size:19px}.action-aside ul li strong a i.blogfen{font-size:23px}.action-aside ul li strong a i.blogzhi{font-size:18px}.action-aside ul li strong a i.bloggengduo{font-size:24px}.action-aside ul li strong span{color:#979da9;line-height:1}.action-aside ul li strong span b{font-weight:400}.action-aside ul li strong.on a i{color:#3e71f6}.action-aside ul li strong .new{background:#e31436;border-radius:10px 10px 10px 2px;color:#fff;display:inline-block;font-size:12px;font-style:normal;line-height:1;padding:2px 5px;position:absolute;right:-7px;top:-4px}.bdsharebuttonbox{display:none;left:-5px;padding-top:20px;position:absolute;top:39px;z-index:99}.bdsharebuttonbox .ins{background:#fff;border-radius:2px;box-shadow:0 8px 16px 0 hsla(0,0%,40%,.1);padding:10px 0 8px;position:absolute;text-align:center;width:90px}.bdsharebuttonbox .ins a{background:0;color:#2e3d56;display:inline-block;float:none;font-size:12px;height:32px;line-height:32px;margin:0 0 2px;padding-left:0;width:55px}.bdsharebuttonbox .ins a:hover,.bdsharebuttonbox .ins a:hover i{color:#3e71f6}.bdsharebuttonbox .ins a i{color:#818797;float:left;margin-right:8px}.bdsharebuttonbox .ins a i.blogfenxiangweibo{font-size:19px}.bdsharebuttonbox .ins a i.blogfenxiangqq{font-size:18px}.bdsharebuttonbox .ins a i.blogfenxiangweixin{font-size:20px}.bdsharebuttonbox .ins img{height:59px;width:59px}.Footer{margin-top:60px!important}.footer{background-color:#f7f8f9;color:#9fa3a7;font-size:12px;padding:36px 0;text-align:center}.set-right{-webkit-animation:right-to-left .3s linear;animation:right-to-left .3s linear;right:0;z-index:9}.reset-right,.set-right{float:none!important;position:absolute;top:0}.reset-right{-webkit-animation:left-to-right .3s linear;animation:left-to-right .3s linear;right:326px}.arrowing{animation-duration:1s;-webkit-animation-duration:1s;animation-iteration-count:infinite;-webkit-animation-iteration-count:infinite;animation-name:arrowing;-webkit-animation-name:arrowing}@keyframes right-to-left{0%{right:326px}to{right:0}}@-webkit-keyframes right-to-left{0%{right:326px}to{right:0}}@keyframes left-to-right{0%{right:0}to{right:326px}}@-webkit-keyframes left-to-right{0%{right:0}to{right:326px}}@keyframes arrowing{0%{transform:scale(1)}50%{transform:scale(.9)}to{transform:scale(1)}}@-webkit-keyframes arrowing{0%{-webkit-transform:scale(1)}50%{-webkit-transform:scale(.9)}to{-webkit-transform:scale(1)}}*{-webkit-font-smoothing:antialiased;font-family:-apple-system,Helvetica Neue,Helvetica,Arial,PingFang SC,Hiragino Sans GB,WenQuanYi Micro Hei,Microsoft Yahei,sans-serif;margin:0;padding:0}a{color:#333;text-decoration:none}textarea{resize:none}button,input,input[type=button]{outline:0}button,input[type=button]{background-color:#00baf2;border:none;color:#fff;cursor:pointer;line-height:30px;padding:0 20px}button:hover,input[type=button]:hover{opacity:.9}img{border:none}body{color:#333;font-size:14px;line-height:1.75;text-align:left}.disabled{background:#999}.del{text-decoration:line-through}.clear{height:0;overflow:hidden;width:0}.clear,.clearfix{clear:both}.clearfix:after{clear:both;content:"";display:block}.Left,.fl{float:left}.Right,.fr{float:right}.tl{text-align:left}.tc{text-align:center}.tr{text-align:right}.fb{font-weight:700}.bluebg{background:#00baf2}.blue{color:#00baf2}.redbg{background:#ff4a56}.red{color:#ff4a56}.red:hover{color:#950b11}.Mask,.mask{background:rgba(0,0,0,.8);display:none;height:100%;left:0;position:fixed;top:0;width:100%;z-index:9999}label{margin-bottom:0!important}.blue-btn{background:#4285f4;border:1px solid #4285f4;color:#fff;cursor:pointer}.disabled-btn{background:#ddd;border:1px solid #ddd;color:#fff}.blue-btn:hover{background:#3c78dc;border:1px solid #3c78dc;color:#fff}.gray-btn{background:#fff;border:1px solid #ccc;color:#333;cursor:pointer}.gray-btn:hover{background:#e6e6e6;color:#000}.editor-side-new{font-size:16px;word-break:break-all}.editor-side-new blockquote{background:#f2f5f9;border-left:.2rem solid #4285f4;color:#819198;margin:1rem 0;padding:.8rem 1.2rem}.editor-side-new blockquote h1:last-child,.editor-side-new blockquote h2:last-child,.editor-side-new blockquote h3:last-child,.editor-side-new blockquote h4:last-child,.editor-side-new blockquote h5:last-child,.editor-side-new blockquote h6:last-child,.editor-side-new blockquote li:last-child,.editor-side-new blockquote ol:last-child,.editor-side-new blockquote p:last-child,.editor-side-new blockquote ul:last-child{margin-bottom:0}.editor-side-new blockquote p{font-size:16px;font-weight:400;line-height:1.7}@media screen and (max-width:1440px){.body_padding{padding-bottom:115px}.action-aside{z-index:999}.action-aside ul li{display:inline-block;margin:0 20px;width:80px}.action-aside ul li .bdsharebuttonbox{display:none;left:73px;padding-top:20px;position:absolute;top:-134px;z-index:99}.action-aside ul li strong{width:80px}.action-aside ul li strong span{font-size:12px}.action-aside ul li strong.is-praise a i{background:url("https://s2.51cto.com/images/100/blog/old/zan1.png") no-repeat 50%;background-size:41px 41px;display:inline-block;height:35px;width:35px}.webp .action-aside ul li strong.is-praise a i{background-image:url("https://s2.51cto.com/images/100/blog/old/zan1.png?x-oss-process=image/format,webp")}.action-aside ul li strong.is-praise.on a i{background:url("https://s2.51cto.com/images/100/blog/old/zan2.png") no-repeat 50%;background-size:41px 41px}.webp .action-aside ul li strong.is-praise.on a i{background-image:url("https://s2.51cto.com/images/100/blog/old/zan2.png?x-oss-process=image/format,webp")}.action-aside ul li strong.is-praise.no-praise a i,.action-aside ul li strong.is-praise.on.no-praise a i{background:url("https://s2.51cto.com/images/100/blog/old/zan.gif") no-repeat 50%;background-size:41px 41px}.action-aside ul li strong.favorites-opt a i{background:url("https://s2.51cto.com/images/100/blog/old/ping1.png") no-repeat 50%;background-size:41px 41px;display:inline-block;height:35px;width:35px}.webp .action-aside ul li strong.favorites-opt a i{background-image:url("https://s2.51cto.com/images/100/blog/old/ping1.png?x-oss-process=image/format,webp")}.action-aside ul li strong.favorites-opt.on a i{background:url("https://s2.51cto.com/images/100/blog/old/ping2.png") no-repeat 50%;background-size:41px 41px}.webp .action-aside ul li strong.favorites-opt.on a i{background-image:url("https://s2.51cto.com/images/100/blog/old/ping2.png?x-oss-process=image/format,webp")}.action-aside ul li strong.favorites-opt.no-favorites a i,.action-aside ul li strong.favorites-opt.on.no-favorites a i{background:url("https://s2.51cto.com/images/100/blog/old/ping.gif") no-repeat 50%;background-size:41px 41px}.action-aside ul li strong a{border-radius:35px;height:35px;line-height:35px;margin-bottom:0;width:35px}.action-aside ul li strong a i{color:#8a92a5}.action-aside ul li strong a i.blogshang,.action-aside ul li strong a i.blogzan{font-size:15px}.action-aside ul li strong a i.blogshou{font-size:17px}.action-aside ul li strong a i.blogpinglun{font-size:15px}.action-aside ul li strong a i.blogfen{font-size:19px}.action-aside ul li strong a i.blogzhi{font-size:13px}.action-aside ul li strong a i.bloggengduo{font-size:18px}.action-aside ul li strong.sign{cursor:pointer}.action-aside ul li strong.sign a{position:relative}.action-aside ul li strong.sign a .dot{background:#e90d31;border-radius:50%;content:"";display:inline-block;height:4px;position:absolute;right:9px;top:8px;width:4px}.action-aside ul li strong.sign a i{font-size:18px}.action-aside ul li strong .new{transform:scale(.85);-webkit-transform:scale(.85);-moz-transform:scale(.85)}.action-aside-left{bottom:0;left:0;margin:0;position:fixed;text-align:center;top:auto;width:100%}.action-aside-left .inner{margin:0 auto;width:1200px}.action-aside-left .inner ul{background:#fff;box-shadow:0 0 14px -2px #efefef;padding:10px 0;width:874px}.action-aside.action-aside-right{z-index:999}}@media screen and (max-width:1199px){.Page{width:1000px}.detail-content-new .fixtitle h3{width:720px}.detail-content-new .Page .detail-content-left{width:674px}.detail-content-new .Page .detail-content-left .main-content{max-width:none}.detail-content-new .Page .detail-content-left .comment-textarea .textarea-box{width:549px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail{width:554px}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dd{float:left;width:380px}.detail-content-new .Page .detail-content-left .recommend-course{display:none}.action-aside-left .inner{width:1000px}.action-aside-left .inner ul{width:674px}.action-aside-left .inner ul li{margin:0 14px}}@media screen and (min-width:1200px) and (max-width:1580px){.Page{width:1200px}}@media screen and (min-width:1581px) and (max-width:1767px){.Page{width:1390px}.detail-content-new .Page .detail-content-left,.detail-content-new .fixtitle h3{width:1064px}.detail-content-new .Page .detail-content-left .main-content{max-width:none}.detail-content-new .Page .detail-content-left .comment-textarea .textarea-box{width:939px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail{width:944px}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dd{float:left;width:771px}.detail-content-new .Page .detail-content-left .recommend-course li{margin-left:27px;width:177px}.detail-content-new .Page .detail-content-left .recommend-course li:nth-child(5){display:block}.detail-content-new .Page .detail-content-left .recommend-course li .pic,.detail-content-new .Page .detail-content-left .recommend-course li .pic img{height:107px;width:177px}.action-aside{margin:-300px 0 0 -799px}}@media screen and (min-width:1768px){.Page{width:1580px}.detail-content-new .Page .detail-content-left,.detail-content-new .fixtitle h3{width:1254px}.detail-content-new .Page .detail-content-left .main-content{max-width:none}.detail-content-new .Page .detail-content-left .comment-textarea .textarea-box{width:1129px}.detail-content-new .Page .detail-content-left .comment-List-box .comment-List .comment-detail{width:1134px}.detail-content-new .Page .detail-content-left .recommend-cloumn li dl dd{float:left;width:961px}.detail-content-new .Page .detail-content-left .recommend-course li{margin-left:24px;width:177px}.detail-content-new .Page .detail-content-left .recommend-course li:nth-child(5),.detail-content-new .Page .detail-content-left .recommend-course li:nth-child(6){display:block}.detail-content-new .Page .detail-content-left .recommend-course li .pic,.detail-content-new .Page .detail-content-left .recommend-course li .pic img{height:107px;width:177px}.action-aside{margin:-300px 0 0 -892px}}.cto-mermaid svg{cursor:zoom-in}.artical-content-bak a img{cursor:pointer!important}.imgViewDom{background:hsla(0,0%,100%,.8);display:none;height:100%;left:0;overflow:auto;position:fixed;text-align:center;top:0;width:100%;z-index:99999999}.imgViewDom .img-content{height:100%;margin:0 auto;overflow:auto;position:relative;width:100%}.imgViewDom .small-img{cursor:zoom-out;left:50%!important;margin:0 auto;position:absolute!important;text-align:center;top:50%!important;transform:translate(-50%,-50%);-ms-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);-webkit-transform:translate(-50%,-50%);-o-transform:translate(-50%,-50%)}.cto-mermaid.gantt .titleText,.imgViewDom svg .titleText{font-size:24px!important}.cto-mermaid.gantt .section0,.imgViewDom svg .section0{fill:#e2eafe!important}.cto-mermaid.gantt .task0,.cto-mermaid.gantt .task1,.cto-mermaid.gantt .task2,.cto-mermaid.gantt .task3,.imgViewDom svg .task0,.imgViewDom svg .task1,.imgViewDom svg .task2,.imgViewDom svg .task3{fill:#9eb8fa!important;stroke-width:0!important}.cto-mermaid.gantt .grid .tick line,.imgViewDom svg .grid .tick line{stroke:#c1c5cc;opacity:.5}.cto-mermaid.gantt .grid .tick text,.imgViewDom svg .grid .tick text{font-size:14px!important}.cto-mermaid.seq .actor,.imgViewDom svg .actor{stroke-width:0;fill:#f3f5f9!important}.cto-mermaid.seq .messageText,.cto-mermaid.seq .noteText>tspan,.cto-mermaid.seq text.actor>tspan,.imgViewDom svg .messageText,.imgViewDom svg .noteText>tspan,.imgViewDom svg text.actor>tspan{fill:#1a233d!important}.cto-mermaid.seq .messageText,.imgViewDom svg .messageText{stroke:none!important}.cto-mermaid.seq .note,.imgViewDom svg .note{stroke-width:0}#result img{height:auto!important} 
</style>
            <style type="text/css">#waf_nc_block{position:fixed;_position:absolute;width:100%;height:100%;top:0;bottom:0;left:0;z-index:99999}.waf-nc-mask{background:#000;opacity:.5;filter:alpha(opacity=50);width:100%;height:100%}.waf-nc-wrapper{width:348px;height:236px;text-align:center;position:absolute;top:50%;left:50%;margin-top:-160px;margin-left:-200px;margin-bottom:16px;background:#fff;box-shadow:0 0 10px 0 rgba(0,0,0,0.15)}.waf-nc-title{margin-top:28px;font-size:24px;font-weight:500;color:#181818;letter-spacing:1.71px;text-align:center}.waf-nc-description{margin-top:24px;font-size:14px;color:#666;text-align:center}.waf-nc-traceid-class{margin-top:8px;font-size:12px;color:#999;text-align:center}#nocaptcha{margin-left:24px;margin-top:14px}.nc_bg{background:#fff3ea!important}.btn_slide{background:#ff6a00!important;border:0!important;color:#fff!important;width:48px!important;height:48px!important;font-size:30px;font-weight:900!important;line-height:48px!important}.btn_ok{background:#ff6a00!important;border:0!important;color:#fff!important;width:48px!important;height:48px!important;font-size:30px;font-weight:900!important;line-height:48px!important}.nc_scale{background:rgba(241,241,242,1)!important;height:48px!important}.nc-lang-cnt{height:48px!important;margin-left:10px!important;line-height:48px!important;font-size:14px!important}</style><script src="./linux ubuntu 安装 MySql 8.0.23 教程_files/awsc.js"></script><link rel="stylesheet" href="./linux ubuntu 安装 MySql 8.0.23 教程_files/pc_detailinline.min.css"><link rel="stylesheet" href="./linux ubuntu 安装 MySql 8.0.23 教程_files/pc_detail.min.css"><script charset="utf-8" src="./linux ubuntu 安装 MySql 8.0.23 教程_files/jquery-2.2.4.min.js"></script><script charset="utf-8" src="./linux ubuntu 安装 MySql 8.0.23 教程_files/interaction_iframe.js"></script><script charset="utf-8" src="./linux ubuntu 安装 MySql 8.0.23 教程_files/swiper-4.5.3.js"></script><script charset="utf-8" src="./linux ubuntu 安装 MySql 8.0.23 教程_files/pc_base.min.js"></script><script charset="utf-8" src="./linux ubuntu 安装 MySql 8.0.23 教程_files/mdprime.js"></script><script charset="utf-8" src="./linux ubuntu 安装 MySql 8.0.23 教程_files/pc_detail.min.js"></script><link href="https://static2.51cto.com/edu/blog/blog-static/static/css/pc_base.min.css?v=7a2aea50e8" rel="prefetch"><link href="https://static2.51cto.com/edu/blog/blog-static/static/css/pc_listinline.min.css?v=5feb5d928d" rel="prefetch"><link href="https://static2.51cto.com/edu/blog/blog-static/static/css/pc_topicdetailinline.min.css?v=b7a607f81d" rel="prefetch"><link href="https://static2.51cto.com/edu/blog/blog-static/markdown/dist/js/main.js?v=cbacebf661" rel="prefetch"><link href="https://static2.51cto.com/edu/blog/blog-static/static/js/pc_list_js.min.js?v=3d2309f15b" rel="prefetch"><link href="https://static2.51cto.com/edu/blog/blog-static/static/js/pc_topic_static.min.js?v=8533cb9e02" rel="prefetch"><link href="https://static2.51cto.com/edu/blog/blog-static/static/js/pc_blogger_js.min.js?v=a35226e5cc" rel="prefetch"><style></style></head>
<body class="webp">
<img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/share_default.jpeg" border="0" style="width:0; height:0; position:absolute;">
<div class="Content-box" style="min-height: 614px;">
    <div class="Content detail-content-new">
    <!--关注-->
    <div class="fixtitle" style="display: block;">
        <div class="clearfix Page">
            <h3 class="fl title">linux ubuntu 安装 MySql 8.0.23 教程</h3>
            <div class="messbox fr">
                                                            <a id="checkFollow1_15117573" class="follow-1 checkFollow on">关注</a>
                                                    <a href="https://blog.51cto.com/u_15127573" class="name" target="_blank" title="mob604756f1c0ca">mob604756f1c0ca</a>
                <strong>
                    <a href="https://blog.51cto.com/u_15127573" class="avatar" target="_blank">
                        <img class="is-vip-img is-vip-img-4" data-uid="15117573" src="./linux ubuntu 安装 MySql 8.0.23 教程_files/noavatar_small.gif">
                    </a>
                </strong>
            </div>
        </div>
    </div>
    <!--大模块引入-->
    <div class="clearfix Page" id="page_center" style="position:relative;">
                <article class="detail-content-left">
    <div class="common-section common-spacing mb30 article-detail">
    <div class="title">
        <h1>linux ubuntu 安装 MySql 8.0.23 教程</h1>
                        <span class="reprint">转载</span>
    </div>
    <div class="messbox">
        <p class="clearfix mess-line1">
            <a class="fl" href="https://blog.51cto.com/u_15127573" rel="nofollow">mob604756f1c0ca</a>
            <time class="fl" pubdate="2021-05-09 10:22:13">2021-05-09 10:22:13</time>
                                </p>
        <p class="clearfix mess-tag">
                            <strong class="fl">
                    <em class="fl">文章标签</em>
                                            <a href="https://blog.51cto.com/topic/linux-ubuntu-1.html" class="fl  shence_tag" target="_blank">linux ubuntu</a>
                                            <a href="https://blog.51cto.com/topic/mysql.html" class="fl  shence_tag" target="_blank">MySql</a>
                                    </strong>
                                        <strong class="fl">
                    <em class="fl">文章分类</em>
                                            <a href="https://blog.51cto.com/nav/linux" class="fl shence_cate" target="_blank" rel="nofollow">Linux</a>
                                            <a href="https://blog.51cto.com/nav/ops" class="fl shence_cate" target="_blank" rel="nofollow">系统/运维</a>
                                    </strong>
                                <strong class="fl"><em class="fl">阅读数</em><b class="fl">749</b></strong></p>
    </div>
            <div class="article-content-wrap">
                    <div class="artical-content-bak main-content editor-side-new">
                <div class="con editor-preview-side" id="result"><ol class="list-paddingleft-2"><li>安装 mysql&nbsp;<br><div class="hljs-cto"><div class="operation_box"><button data-clipboard-target="#code_id_0" class="copy_btn disable">登录后复制</button> <a title="登录后一键下载全文代码" class="downloadCode"><i class="iconblog blogimport  "></i></a> </div><pre class="has-pre-numbering">sudo&nbsp;apt-get&nbsp;install&nbsp;mysql-server&nbsp;mysql-client&nbsp;-y<ul class="pre-numbering" id="code_id_0" style="display: block;"><li>1.</li></ul></pre></div></li><li>测试是否安装成功<br><div class="hljs-cto"><div class="operation_box"><button data-clipboard-target="#code_id_1" class="copy_btn disable">登录后复制</button> <a title="登录后一键下载全文代码" class="downloadCode"><i class="iconblog blogimport  "></i></a> </div><pre class="has-pre-numbering">sudo&nbsp;netstat&nbsp;-tap&nbsp;|&nbsp;grep&nbsp;mysql<ul class="pre-numbering" id="code_id_1" style="display: block;"><li>1.</li></ul></pre></div><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/3026c7eecffa9fc5391a9a44fd2dc4fe.jpeg" alt="linux ubuntu 安装 MySql 8.0.23 教程_linux ubuntu" style="margin:auto;" class="cto-img">&nbsp;</li><li>打开Mysql 配置文件&nbsp;<br><div class="hljs-cto"><div class="operation_box"><button data-clipboard-target="#code_id_2" class="copy_btn disable">登录后复制</button> <a title="登录后一键下载全文代码" class="downloadCode"><i class="iconblog blogimport  "></i></a> </div><pre class="has-pre-numbering">#&nbsp;注意：不同&nbsp;mysql&nbsp;版本此配置文件位置和名字可能不同
sudo&nbsp;vim&nbsp;/etc/mysql/mysql.conf.d/mysqld.cnf
#找到将bind-address&nbsp;=&nbsp;127.0.0.1注销
#bind-address&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=&nbsp;127.0.0.1

[object Object]<ul class="pre-numbering" id="code_id_2" style="display: block;"><li>1.</li><li>2.</li><li>3.</li><li>4.</li><li>5.</li><li>6.</li></ul></pre></div></li><li>重启mysql 服务<br><div class="hljs-cto"><div class="operation_box"><button data-clipboard-target="#code_id_3" class="copy_btn disable">登录后复制</button> <a title="登录后一键下载全文代码" class="downloadCode"><i class="iconblog blogimport  "></i></a> </div><pre class="has-pre-numbering">sudo&nbsp;/etc/init.d/mysql&nbsp;restart<ul class="pre-numbering" id="code_id_3" style="display: block;"><li>1.</li></ul></pre></div></li><li><div class="hljs-cto"><div class="operation_box"><button data-clipboard-target="#code_id_4" class="copy_btn disable">登录后复制</button> <a title="登录后一键下载全文代码" class="downloadCode"><i class="iconblog blogimport  "></i></a> </div><pre class="has-pre-numbering"><br><ul class="pre-numbering" id="code_id_4" style="display: block;"><li>1.</li></ul></pre></div>登录 Mysql<br><div class="hljs-cto"><div class="operation_box"><button data-clipboard-target="#code_id_5" class="copy_btn disable">登录后复制</button> <a title="登录后一键下载全文代码" class="downloadCode"><i class="iconblog blogimport  "></i></a> </div><pre class="has-pre-numbering">mysql&nbsp;-uroot&nbsp;-p<ul class="pre-numbering" id="code_id_5" style="display: block;"><li>1.</li></ul></pre></div></li><li><div class="hljs-cto"><div class="operation_box"><button data-clipboard-target="#code_id_6" class="copy_btn disable">登录后复制</button> <a title="登录后一键下载全文代码" class="downloadCode"><i class="iconblog blogimport  "></i></a> </div><pre class="has-pre-numbering"><br><ul class="pre-numbering" id="code_id_6" style="display: block;"><li>1.</li></ul></pre></div>授权 root 并设置密码<br><div class="hljs-cto"><div class="operation_box"><button data-clipboard-target="#code_id_7" class="copy_btn disable">登录后复制</button> <a title="登录后一键下载全文代码" class="downloadCode"><i class="iconblog blogimport  "></i></a> </div><pre class="has-pre-numbering">use&nbsp;mysql;
ALTER&nbsp;USER&nbsp;'root':'localhost'&nbsp;IDENTIFIED&nbsp;WITH&nbsp;mysql_native_password&nbsp;BY&nbsp;'新密码';
CREATE&nbsp;USER&nbsp;'root'@'%'&nbsp;IDENTIFIED&nbsp;BY&nbsp;'新密码';
GRANT&nbsp;ALL&nbsp;ON&nbsp;*.*&nbsp;TO&nbsp;'root'@'%'&nbsp;WITH&nbsp;GRANT&nbsp;OPTION;
FLUSH&nbsp;PRIVILEGES;<ul class="pre-numbering" id="code_id_7" style="display: block;"><li>1.</li><li>2.</li><li>3.</li><li>4.</li><li>5.</li></ul></pre></div></li><li>使用工具连接 mysql&nbsp;<br><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/67312758c2b46023880a7afdbea295fa.jpeg" alt="linux ubuntu 安装 MySql 8.0.23 教程_MySql_02" style="margin:auto;" class="cto-img"></li><li>MySql 安装结束！</li></ol><div></div></div>
            </div>
        
        <div id="asideoffset"></div>
        <div class="clearfix label-list">

            <!--            <span>本文包含：</span>-->
            <!--          -->
            <!--            <a href="" target="_blank"></a>-->

        </div>
    </div>
    <div class="action-box">
        <ul>
                        <li>
                <strong class="is-praise  " type="1" blog_id="2763250" userid="15117573">
                    <a href="javascript:;"><i></i></a>
                    <span><b class="praise-num"></b>赞</span>
                </strong>
            </li>
            <li>
                <strong class="favorites-opt">
                    <a href="javascript:;"><i></i></a>
                    <span><b class="favorites-num"></b>收藏</span>
                </strong>
            </li>
            <li>
                <strong class="Topraise">
                    <a href="javascript:;"><i class="iconblog blogpinglun"></i></a>
                    <span><b class="comments_num">2</b>评论</span>
                </strong>
            </li>
            <li class="share">
                <strong class="">
                    <a href="javascript:;"><i class="iconblog blogfen"></i></a>
                    <span>分享</span>
                </strong>
            </li>
                            <li>
                    <strong class="article-report">
                        <a href="javascript:;"><i class="iconblog blogjubaobeifen report-icon" style="font-size: 23px"></i></a>
                        <span>举报</span>
                    </strong>
                </li>
                    </ul>
    </div>
    <div class="clearfix lists">
                    <p class="fl"><span>上一篇：</span><a href="https://blog.51cto.com/u_15127573/2763247">PHP_数据类型</a></p>
                            <p class="fr"><span>下一篇：</span><a href="https://blog.51cto.com/u_15127573/2763252">HotSpot JVM学习</a></p>
            </div>
    <div class="text-aticle">

    </div>
</div>
    

<div class="common-section common-spacing mb30 comment-box" id="comment">
    <div class="comment-textarea clearfix">
        <div class="avatar">
            <a href="https://blog.51cto.com/" class="header-img" target="_blank">
                <img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/noavatar_middle.gif">
            </a>
        </div>
        <div class="textarea-box">
            <div class="textarea-show clearfix">
                <span>提问和评论都可以，用心的回复会被更多人看到</span>
                <strong>评论</strong>
            </div>
            <div class="textarea-hide">
                <div class="top">
                    <textarea class="textareadiv textareadiv-publish" name="" id="textareadiv-publish" placeholder="提问和评论都可以，用心的回复会被更多人看到和认可" maxlength="500"></textarea>
                </div>
                <div class="bot clearfix">
                    <strong class="fr publish-btn" flag="1" id="publish-btn">发布评论</strong>
                </div>
            </div>
        </div>
    </div>
    <div class="comment-num" style="">
        <strong>全部评论</strong>
        <span>(<b id="CommentNum">2</b>)</span>
        <span class="fr sort" type="up_num" order="0"><i class="iconblog blogzuire"></i>最热</span>
        <span class="fr sort on" type="create_time" order="0"><i class="iconblog blogzuixinblogzuixin"></i>最新</span>
    </div>
    <div class="comment-List-box"><div class="floor-1"><div class="comment-List clearfix" id="820848">
            <div class="avatar">
                <a href="https://blog.51cto.com/u_15227961"><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/noavatar_small.gif" alt=""></a>
                
            </div>
            <div class="comment-detail">
                <h3 class="clearfix">
                    <a href="https://blog.51cto.com/u_15227961" class="fl">48e331a3c108</a>
                    
                    <span class="time fr">1 年前</span></h3>
                <div class="content">好棒，一直想学没有头绪</div>
                <div class="action clearfix">
                    <span class="reply"><i class="iconblog blogpinglun2"></i>回复</span>
                    <span class="vote "><i class="iconblog blogzan2"></i>点赞<b num="0"></b></span>
                    
                </div>
            </div>
            <input type="hidden" class="first_pid" value="820848">
                <input type="hidden" class="parent_id" value="820848">
                    <input type="hidden" class="reply_uid" value="15217961">
                    </div>
                    <div class="floor-2"></div></div><div class="floor-1"><div class="comment-List clearfix" id="820847">
            <div class="avatar">
                <a href="https://blog.51cto.com/u_15231527"><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/noavatar_small.gif" alt=""></a>
                
            </div>
            <div class="comment-detail">
                <h3 class="clearfix">
                    <a href="https://blog.51cto.com/u_15231527" class="fl">874950a92470</a>
                    
                    <span class="time fr">1 年前</span></h3>
                <div class="content">向大佬学习，准备开始总结学习笔记了</div>
                <div class="action clearfix">
                    <span class="reply"><i class="iconblog blogpinglun2"></i>回复</span>
                    <span class="vote "><i class="iconblog blogzan2"></i>点赞<b num="0"></b></span>
                    
                </div>
            </div>
            <input type="hidden" class="first_pid" value="820847">
                <input type="hidden" class="parent_id" value="820847">
                    <input type="hidden" class="reply_uid" value="15221527">
                    </div>
                    <div class="floor-2"></div></div></div>
</div>
    
    <section class="common-section common-spacing mb30">
        <div class="clearfix common-sub-title">
            <strong>相关文章</strong>
        </div>
        <ul class="recommend-about">
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/u_15060467/4898012" data-report-query="xiangguantuijian&amp;01" target="_blank">
                            <div class="tit">MYSQL8.0.23 安装教程</div>
                            <p> 1、如果原来安装过，卸载原来的 MYSQL 停止服务 卸载所有相关软件 删除相关注册列表 2、解压安装包至，想要安装的路径3、配置环境变量（先确定好安装路径）：我的电脑——属性——高级系统设置——环境变量——新建：变量：MYSQL_HOME 值：D:\tools\mysql（具体的安装位置，根据实际 ...</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         mysql                                    </span>
                                                                    <span class="tag-item">
                                         数据库                                    </span>
                                                                    <span class="tag-item">
                                         服务端                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/u_15493782/5026421" data-report-query="xiangguantuijian&amp;02" target="_blank">
                            <div class="tit">Win10下安装Mysql8.0.23（2021最新教程）</div>
                            <p> 文章目录1、首先去官网下载安装包2、不用注册，点击直接下载3、下载后的压缩包4、解压下载的安装包5、新建一个文件，名为：my.ini6、my.ini内容7、配置环境变量1、首先去官网下载安装包下载地址：https://dev.mysql.com/downloads/mysql/2、不用注册，点击直接下载3、下载后的压缩包4、解压下载的安装</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         mysql                                    </span>
                                                                    <span class="tag-item">
                                         数据库                                    </span>
                                                                    <span class="tag-item">
                                         windows                                    </span>
                                                                    <span class="tag-item">
                                         下载安装                                    </span>
                                                                    <span class="tag-item">
                                         服务端                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/u_15280110/3196441" data-report-query="xiangguantuijian&amp;03" target="_blank">
                            <div class="tit">Linux环境下安装Mysql-8.0.23（2021-3-26）</div>
                            <p>   最近购买的云数据库快到期了，趁着现在还有几天时间，先自己在服务器上安装一个mysql，将云数据库里面的数据迁过来。一、下载Linux版本的Mysql安装包????Linux版本安装包下载链接二、检查环境  检查linux是否安装了mariadb数据库，mariadb数据库是mysql的分支。是免费开源的。mariadb和msyql会有冲突。如果安装了mariadb, 需要将其卸载掉。yum list installed | grep mariadb  卸载掉mariadbyum</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         Linux                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/u_15196512/2768664" data-report-query="xiangguantuijian&amp;04" target="_blank">
                            <div class="tit">mysql 8.0.23忘记密码</div>
                            <p> mysql8.0.23忘记密码如何操作？</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         mysql数据库                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/u_15127491/2654947" data-report-query="xiangguantuijian&amp;05" target="_blank">
                            <div class="tit">mac 安装mysql workbench8.0.23闪退。</div>
                            <p> 原因。mac 安装mysql workbench闪退 ，终端中运行mysql workbench启动命令/Applications/MySQLWorkbench.app/Contents/MacOS/MySQLWorkbench知道原因是mysql workbench需要python3.7才能启动，并且知道mysql workbench是去/Library/Frameworks/Python.fr</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         mysql                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/u_12810522/3023532" data-report-query="xiangguantuijian&amp;06" target="_blank">
                            <div class="tit">linux-ubuntu安装mysql</div>
                            <p> 先把之前的全部卸载掉sudo apt-get autoremove --purge mysql-server-5.7 sudo apt-get remove mysql-server&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sudo apt-get autoremove mysql-server&nbsp; sudo apt-get remove mysql-commonsudo rm -rf /etc/mysql/&nbsp; /var/...</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         MySQL                                    </span>
                                                                    <span class="tag-item">
                                         Linux                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/u_15125209/5298756" data-report-query="xiangguantuijian&amp;07" target="_blank">
                            <div class="tit">Linux Ubuntu中安装MySQL（傻瓜式教程）</div>
                            <p> 第一步：查询msql版本输入命令：sudo apt search mysql-server第二步：安装mysql输入命令：sudo apt install mysq</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         mysql                                    </span>
                                                                    <span class="tag-item">
                                         linux                                    </span>
                                                                    <span class="tag-item">
                                         ubuntu                                    </span>
                                                                    <span class="tag-item">
                                         sql                                    </span>
                                                                    <span class="tag-item">
                                         数据库                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/u_15127524/3388683" data-report-query="xiangguantuijian&amp;08" target="_blank">
                            <div class="tit">Linux安装mysql教程</div>
                            <p> Linux安装mysql教程 1，设置安装路径 安装文件下载目录：/data/softwareMysql目录安装位置：/usr/local/mysql数据库保存位置：/data/mysql日志保存位置：/data/log/mysql 2，下载Mysql 在官网：http://dev.mysql.co</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         Mysql                                    </span>
                                                                    <span class="tag-item">
                                         Linux                                    </span>
                                                                    <span class="tag-item">
                                         mysql                                    </span>
                                                                    <span class="tag-item">
                                         linux                                    </span>
                                                                    <span class="tag-item">
                                         压缩包                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/zhujifang/1380213" data-report-query="xiangguantuijian&amp;09" target="_blank">
                            <div class="tit">Ubuntu Linux下安装MySQL</div>
                            <p> 【首先要确定你的系统以前没有安装过MySQL，不然的话，要首先卸载它，并且要删除相应的用户组与用户】  1、  下面我们开始正式安装：  sudoapt-get install mysql-server  输入密码：*******      2、  输入y进入到安装界面，在安装过程中，会弹出一个界面要求输入mysql的root的密码，  这里可以输入也可以不用输入，以后自己再设也可以，不过我建议还</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         linux                                    </span>
                                                                    <span class="tag-item">
                                         mysql                                    </span>
                                                                    <span class="tag-item">
                                         server                                    </span>
                                                                    <span class="tag-item">
                                         数据库                                    </span>
                                                                    <span class="tag-item">
                                         ubuntu                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/u_15080016/2641660" data-report-query="xiangguantuijian&amp;10" target="_blank">
                            <div class="tit">MySQL8.0.23发布！</div>
                            <p> 时间过得真快，一眨眼MySQL又发布了一个维护版本，MySQL8.0.23。在这个版本里面，除了像以往一样解决了一部分BUG，同样也增添了一些新的功能，让我们快速浏览一下。用户管理：授予RELOAD权限，使用户可以执行各种操作，避免了DBA重新加载，并更加详细的定制权限。连接管理：为了使与TCP客户端连接匹配的帐户的算法更具确定性，在尝试匹配使用主机名指定的帐户之前，匹配帐户的主机名部分将以特定的</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         Java                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/u_15091652/2603809" data-report-query="xiangguantuijian&amp;11" target="_blank">
                            <div class="tit">Centos7下安装MySQL8.0.23-小白的开始</div>
                            <p> 首先简单介绍一下什么叫MySQL；数据库简而言之就是存储数据的仓库，为了方便数据的存储和管理，它将数据按照特定的规律存储在磁盘上。是为了实现一定的目的，按照某种规则组织起来的数据的集合；MySQL是一种开放源代码的关系型数据库管理系统（RDBMS），使用最常用的数据库管理语言--结构化bai查询语言（SQL）进行数据库管理。通过数据库管理系统，可以有效的组织和管理存储在数据库中的数据。那么我们常见</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         Centos7                                    </span>
                                                                    <span class="tag-item">
                                         MySQL                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/zhangmh/5158336" data-report-query="xiangguantuijian&amp;12" target="_blank">
                            <div class="tit">Linux下安装MySQL教程</div>
                            <p> Linux下安装MySQL获取安装包1.从官网下载2.</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         mysql                                    </span>
                                                                    <span class="tag-item">
                                         linux                                    </span>
                                                                    <span class="tag-item">
                                         数据库                                    </span>
                                                                    <span class="tag-item">
                                         官网                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/u_15162069/2854843" data-report-query="xiangguantuijian&amp;13" target="_blank">
                            <div class="tit">【教程】Linux上安装MySQL</div>
                            <p> 相比Windows系统，Linux系统上安装MySQL比较简单，本文将详细介绍如何在Ubuntu系统安装MySQL。 PART 1 安装MySQL 1.更新软件源 sudo apt update 2.安装MySQL sudo apt-get install mysql-server sudo apt ...</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         Linux                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/u_15177056/2725456" data-report-query="xiangguantuijian&amp;14" target="_blank">
                            <div class="tit">MySQL手动安装Linux教程</div>
                            <p> https://blog.csdn.net/m0_37921080/article/details/79650717</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         MySQL                                    </span>
                                                                    <span class="tag-item">
                                         Linux                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/echohye/5574976" data-report-query="xiangguantuijian&amp;15" target="_blank">
                            <div class="tit">Linux 安装Mysql 详细教程</div>
                            <p> 一、查看是否已经安装 Mysql rpm -qa | grep mysql 以下输出表示没有 [root@arcgis ~]# rpm -qa | grep mysql [root@arcgis ~]#</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         mysql                                    </span>
                                                                    <span class="tag-item">
                                         数据库                                    </span>
                                                                    <span class="tag-item">
                                         ide                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/u_14833364/2500949" data-report-query="xiangguantuijian&amp;16" target="_blank">
                            <div class="tit">ubuntu20.04安装教程,ubuntu安装教程20.04</div>
                            <p> ubuntu20.04详细安装教程,ubuntu安装教程20.04操作环境：virtual machine: VMware® Workstation 15 ProUbuntu version:Ubuntu-20.04&nbsp;下载ISO镜像：　　从网易的镜像网站下载Ubuntu：://mirrors.163.com/ubuntu-releases/20.04/ubuntu20.04安装教程详细&nbsp;&nbsp;</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         ubuntu20.04                                    </span>
                                                                    <span class="tag-item">
                                         ubuntu                                    </span>
                                                                    <span class="tag-item">
                                         ubuntu20.04安装教程                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/dezhou/2088049" data-report-query="xiangguantuijian&amp;17" target="_blank">
                            <div class="tit">linux(ubuntu)下安装navicat for mysql</div>
                            <p> 首先通过官网下载navicatformysql安装包https://www.navicat.com.cn/download/navicat-for-mysql点击试用，下载即可。解压下载的tar.gz包。把解压的文件夹放到/opt/下面然后进入/opt目录下运行Navicat方法：进入安装目录：cd/opt/navicat120_mysql_cs_x64执行命令：./start_navicat这样</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         ubuntu                                    </span>
                                                                    <span class="tag-item">
                                         navicat                                    </span>
                                                                    <span class="tag-item">
                                         mysql                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/u_3826415/4920027" data-report-query="xiangguantuijian&amp;18" target="_blank">
                            <div class="tit">【linux】ubuntu下navicat for mysql安装</div>
                            <p> 1.打开navicat官网，下载所需的navicat，网址：http://www.navicat.com/en/download/download.html2.进入下载目录，解压压缩包，解压命令如下：tar -zxvf navicat110_mysql_en.tar.gz3.打开解压后的目录，会看到 start_navicat文件 &nbsp;运行他就可以了命令如下：./start_navica</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         ubuntu navicat for m                                    </span>
                                                                    <span class="tag-item">
                                         安装过程                                    </span>
                                                                    <span class="tag-item">
                                         压缩包                                    </span>
                                                                    <span class="tag-item">
                                         官网                                    </span>
                                                                    <span class="tag-item">
                                         mysql                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                            <li>
                    <div class="about-aticle-list">
                        <a href="https://blog.51cto.com/u_15127638/4345579" data-report-query="" target="_blank">
                            <div class="tit">安装 Ubuntu 教程</div>
                            <p> 1.选择中文安装 ##2.****到了如下界面，我们点击继续： ##3.然后点击，现在安装： ##4.****到了这界面，点击继续： ##5.如下，输入你的位置，随便输入就好： ##**6.**然后选择汉语，点击继续： 7.设置用户名密码,自行设置记得就行，这里我选择自动登录(也可以设置登录需要密码 ...</p>
                        </a>
                        <!-- 标签页 -->
                                                    <div class="tag-box">
                                                                    <span class="tag-item">
                                         ubuntu                                    </span>
                                                                    <span class="tag-item">
                                         重启                                    </span>
                                                                    <span class="tag-item">
                                         用户名                                    </span>
                                                                    <span class="tag-item">
                                         客户端                                    </span>
                                                                    <span class="tag-item">
                                         自动登录                                    </span>
                                                            </div>
                                                                    </div>

                </li>
                    </ul>
    </section>

</article>
        
<aside class="detail-content-right">
    <!--右上角统计-->
    <section class="common-section common-spacing mb24 user-intr">
        <div class="user-content">
            <div class="top">
                <div class="avatar">
                    <div class="avatar-img">
                        <a href="https://blog.51cto.com/u_15127573" target="_blank" rel="nofollow">
                            <img class="is-vip-img is-vip-img-4" data-uid="15117573" src="./linux ubuntu 安装 MySql 8.0.23 教程_files/noavatar_small.gif">
                        </a>
                    </div>
                </div>
                <div class="clearfix username">
                    <a href="https://blog.51cto.com/u_15127573" target="_blank"><span class="blog-user" title="mob604756f1c0ca" style="max-width: 272px;">mob604756f1c0ca</span></a>
                    <div class="icon">
                        <ul class="clearfix detail-list"></ul>
                    </div>
                </div>
            </div>
            <div class="identify-list"></div>
            <div class="bottom" id="userStat"><div class="num-name num-top">
                <ul class="first-num">
                    <li>
                        <div class="num"><a href="https://blog.51cto.com/u_15127573/original" target="_blank" rel="nofollow">36</a></div>
                        <div class="label-name"><a href="https://blog.51cto.com/u_15127573/original" target="_blank" rel="nofollow">原创</a></div>
                    </li>
                    <li>
                        <div class="num">89.4<span>万</span></div>
                        <div class="label-name">人气</div>
                    </li>
                    <li>
                        <div class="num"><a href="https://blog.51cto.com/u_15127573/followers" target="_blank" rel="nofollow">8<span></span></a></div>
                        <div class="label-name"><a href="https://blog.51cto.com/u_15127573/followers" target="_blank" rel="nofollow">粉丝</a></div>
                    </li>
                    <li>
                        <div class="num">5634<span></span></div>
                        <div class="label-name">评论</div>
                    </li>
                </ul>
            </div>
            <div class="lines"></div>
            <div class="num-name num-bottom">
                <ul>
                    <li>
                        <div class="num"><a href="https://blog.51cto.com/u_15127573/translate" target="_blank" rel="nofollow">0</a></div>
                        <div class="label-name"><a href="https://blog.51cto.com/u_15127573/translate" target="_blank" rel="nofollow">翻译</a></div>
                    </li>
                    <li>
                        <div class="num"><a href="https://blog.51cto.com/u_15127573/reproduce" target="_blank" rel="nofollow">3012</a></div>
                        <div class="label-name"><a href="https://blog.51cto.com/u_15127573/reproduce" target="_blank" rel="nofollow">转载</a></div>
                    </li>
                    <li>
                        <div class="num"><a href="https://blog.51cto.com/u_15127573/following" target="_blank" rel="nofollow">0</a></div>
                        <div class="label-name"><a href="https://blog.51cto.com/u_15127573/following" target="_blank" rel="nofollow">关注</a></div>
                    </li>
                    <li>
                        <div class="num">16</div>
                        <div class="label-name">收藏</div>
                    </li>
                    <div class="clear"></div>
                </ul>
            </div></div>
            <div id="medalListBox" class="medal-list"><div title="一眼万年" class="medalItem item"><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/195f76d50ffb2cd8b16664147e48ea8edd9fd6.png"></div><div title="锋芒毕露" class="medalItem item"><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/f6f53e943b8feeab330770a0ec42efed855946.png"></div><div title="崭露头角" class="medalItem item"><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/31b28da6607cbc93cd900122f89b19420ac8c5.png"></div><div title="初见码名" class="medalItem item"><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/5636945283bfe677050789457e8ebbc115f77f.png"></div><div title="一代宗师" class="medalItem item"><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/61ba4e730b80264ca0076678a0dbd3e16f64bb.png"></div><div title="炉火纯青" class="medalItem item"><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/c1c0bc692d7397c63280391ec9fc97b029aa51.png"></div><div title="博闻强识" class="medalItem item"><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/a8ef82362559226c848000f191ce5a08f03207.png"></div><div title="持之以恒" class="medalItem item"><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/b67592a476d24a33731174926f050c7209f5df.png"></div><div title="挑战自我" class="medalItem item"><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/03ea5c8040c00c2cbaf04751aae5540380427a.png"></div><div title="初学乍练" class="medalItem item"><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/e6f51ba16aff6795ae8301531aecaf9001d3b3.png"></div></div>
            <div class="operating clearfix ">
                                                            <a id="checkFollow2_15117573" class="follow-1 checkFollow on" rel="nofollow">关注</a>
                                                    <button class="sx" data="https://home.51cto.com/space?uid=15117573" id="ToSx"><a href="javascript:;" rel="nofollow"><i class="iconblog blogsixin"></i>私信</a></button>
            </div>
        </div>
    </section>
    
    <!-- 分类列表 -->
        <!-- 近期文章 -->
            <section class="common-section common-spacing mb24">
            <div class="clearfix common-sub-title">
                <strong title="近期文章">近期文章</strong>
            </div>
            <ul class="common-list">
                                    <li>
                        <a href="https://blog.51cto.com/u_15765782/5794101" target="_blank" title="统计数字、字母和其他字符的个数">1.统计数字、字母和其他字符的个数</a>
                    </li>
                                    <li>
                        <a href="https://blog.51cto.com/cicadasmile/5793791" target="_blank" title="JDK中自带的JVM分析工具">2.JDK中自带的JVM分析工具</a>
                    </li>
                                    <li>
                        <a href="https://blog.51cto.com/u_11682417/5794092" target="_blank" title="Oracle的服务器端和客户端同时安装Sqlplus无法登陆的处理">3.Oracle的服务器端和客户端同时安装Sqlplus无法登陆的处理</a>
                    </li>
                                    <li>
                        <a href="https://blog.51cto.com/u_15724837/5793785" target="_blank" title="BZOJ 3122([Sdoi2013]随机数生成器-同余方程+负数逆元)">4.BZOJ 3122([Sdoi2013]随机数生成器-同余方程+负数逆元)</a>
                    </li>
                                    <li>
                        <a href="https://blog.51cto.com/u_15724837/5794049" target="_blank" title="BZOJ 1507([NOI2003]Editor-块状链表)">5.BZOJ 1507([NOI2003]Editor-块状链表)</a>
                    </li>
                            </ul>
        </section>
        <!-- 文章目录 -->
    </aside>
    </div>
    <!--返回顶部-->
    <aside class="action-aside action-aside-right">
        <ul>
            <li>
                <strong class="sign" id="sign">
                    <a href="javascript:;">
                        <i class="iconblog blogqiandao"></i>
                                                <b class="dot"></b>
                                            </a>
                    <span>签到领勋章</span>
                </strong>
            </li>
            <li class="scrollTop" style="display: list-item;">
                <strong class="ScrollWindowTop">
                    <a href="javascript:;"><i class="iconblog blogzhi"></i></a>
                    <span>返回顶部</span>
                </strong>
            </li>
        </ul>
    </aside>
</div>
<!-- 蒙层 -->
<div class="Mask"></div>

<div class="report-dialog-root">
    <div class="report-dialog-container">
        <p class="report-dialog-title">举报文章</p>
        <div class="report-type-container model-split_top" data-type="0" id="report-specific-type">
            <p class="report-type-tit">请选择举报类型</p>
            <div class="report-type-enmu">
                <span class="report-type-item type-item_first" data-type="1">内容侵权</span>
                <span class="report-type-item type-item_first item-split" data-type="2">涉嫌营销</span>
                <span class="report-type-item type-item_first item-split" data-type="3">内容抄袭</span>
                <span class="report-type-item type-item_first item-split" data-type="4">违法信息</span>
                <span class="report-type-item type-item_first item-split" data-type="5">其他</span>
            </div>
        </div>
        <div class="report-type-container model-split_top report-hide-model" id="report-specific-reasons" data-type="0">
            <p class="report-type-tit">具体原因</p>
            <div class="report-type-enmu">
                <span class="report-type-item type-item_second" data-type="1">包含不真实信息</span>
                <span class="report-type-item type-item_second item-split" data-type="2">涉及个人隐私</span>
            </div>
        </div>
        <div class="report-type-container model-split_top report-hide-model" id="report-original-link">
            <p class="report-type-tit">原文链接（必填）</p>
            <input type="text" placeholder="请输入被侵权的原文链接" class="report-orgin_input">
        </div>
        <div class="report-type-container model-split_top textarea-content">
            <p class="report-type-tit">补充说明</p>
            <textarea maxlength="200" class="report-reason_textarea" placeholder="请详细描述您的举报内容" id="report-more-info"></textarea>
            <p class="report-textarea-tip"><span class="tip-left">0</span><span>/200</span></p>
        </div>
        <div class="report-type-container">
            <p class="report-type-tit">上传截图</p>
            <div class="report-img-container">
                <i class="iconblog blogtianjiabeifen report-add-icon"></i>
                <input type="file" accept="image/jpg,image/jpeg,image/png" name="file" class="repot-btn-select" onchange="selectImg(this)">
            </div>
            <p class="report-img_rule">格式支持JPEG/PNG/JPG，图片不超过1.9M</p>
            <div class="report-img-show">
                <img src="https://blog.51cto.com/u_15127573/2763250" alt="" id="report-img">
                <div class="report-img-close">
                    <i class="iconblog bloga-shanchutupian report-close-icon"></i>
                </div>
            </div>
        </div>
        <div class="report-btn-container">
            <button class="report-btn-cancel">取消</button>
            <button class="report-btn-concert">确认</button>
        </div>
        <div class="report-warm-tip report-hide-model">
            已经收到您得举报信息，我们会尽快审核
        </div>
    </div>
</div>
<div class="imgViewDom disnone" style="display: none;">
    <div class="img-content"></div>
</div>

<div class="zhiCustomBtn" style="display:none;" id="hide-zhiCustomBtn"></div>
<!--左边悬浮操作项-->
<aside class="action-aside action-aside-left">
    <div class="inner">
        <ul>
                        <li>
                <strong class="is-praise  " type="1" blog_id="2763250" userid="15117573">
                    <a href="javascript:;"><i></i></a>
                    <span><b class="praise-num"></b>赞</span>
                </strong>
            </li>
            <li>
                <strong class="favorites-opt">
                    <a href="javascript:;"><i></i></a>
                    <span><b class="favorites-num"></b>收藏</span>
                </strong>
            </li>
            <li>
                <strong class="Topraise">
                    <a href="javascript:;"><i class="iconblog blogpinglun"></i></a>
                    <span><b class="comments_num">2</b>评论</span>
                </strong>
            </li>
            <li class="share">
                <strong class="">
                    <a href="javascript:;"><i class="iconblog blogfen"></i></a>
                    <span>分享</span>
                </strong>
            </li>
        </ul>
    </div>
</aside>
<div class="dialog-box">
    <div class="mask"></div>
    <div class="body">
        <div id="close" class="close"></div>
        <div id="medalListBox2"></div>
    </div>
</div>
<div class="dialog-box-small">
    <div class="mask"></div>
    <div class="body">
        <div id="close" class="close"></div>
        <div id="medalBox2" class="medal-list">
        </div>
    </div>
</div></div>
  <header class="home-top" style="display: none;">
    <div class="Page">
        <div class="top-box">
            <div class="item-lf"><a class="top" href="https://www.51cto.com/" target="_blank" rel="nofollow">51CTO首页</a></div>
             <div class="item-lf">
                <a href="https://www.51cto.com/dev?utm_source=hometop" target="_blank">内容精选</a>
            </div>
            <div class="item-lf">
                <a href="https://blog.51cto.com/" target="_blank">博客</a>
            </div>
            <div class="item-lf">
                <a class="subweb" href="https://edu.51cto.com/?utm_source=hometop" data-id="2" target="_blank" rel="nofollow">学堂</a>
            </div>
            <div class="item-lf">
                <a class="subweb" href="https://e.51cto.com/?utm_platform=pc&amp;utm_medi-um=51cto&amp;utm_source=zhuzhan&amp;utm_content=sy_topbar" data-id="3" target="_blank" rel="nofollow">精培</a>
            </div>
            <div class="item-lf">
                <a class="subweb" href="https://b.51cto.com/index?utm_source=hometop" data-id="4" target="_blank" rel="nofollow">企业培训</a>
            </div>
            <div class="item-lf">
                <a class="subweb" href="https://x.51cto.com/?www" data-id="5" target="_blank" rel="nofollow">CTO训练营</a>
            </div>
            <div class="item-lf">
                <a class="subweb" href="https://ost.51cto.com/openharmony?utm_source=hometop" data-id="6" target="_blank" rel="nofollow">开源基础软件社区</a>
            </div>
            <div class="item-lf">
                <a class="top" href="https://aisummit.51cto.com/?utm_source=wwwtop" target="_blank">AISummit人工智能大会</a>
            </div>
            <div class="item-lf hot">
                <a href="https://wot.51cto.com/?utm_source=wwwtop" target="_blank" rel="nofollow">WOT大会</a>
                <!-- <div class="hot-div"></div> -->
            </div>
            <div class="top-right">
                <div class="item-rt"><span class="subweb" data-id="8">移动端</span></div>
                <div class="item-rt"><span class="subweb" data-id="7">公众号矩阵</span></div>
                <div class="item-rt"><a href="http://so.51cto.com/?keywords=&amp;sort=time" target="_blank" class="search-top" rel="nofollow"><i class="iconblog blogsou blog-search"></i></a></div>
            </div>
        </div>
    </div>
    <div class="nav-more-container" style="height: 0px;">
        <div class="Page nav-contant-box" style="height: 0px; z-index: 0;">
            <div class="nav-contant nav-contant1" data-id="1" style="height: 0px; z-index: 0;">
                <a href="https://blog.51cto.com/" target="_blank">博客</a>
            </div>
            <div class="nav-contant nav-contant2" data-id="2" style="height: 0px; z-index: 0;">
                <a href="https://edu.51cto.com/courselist/index-zh5.html?utm_source=hometop" target="_blank" rel="nofollow">免费课程</a>
                <a href="https://edu.51cto.com/ranking/index.html?utm_source=hometop" target="_blank" rel="nofollow">课程排行</a>
                <a href="https://e.51cto.com/ncamp/list?utm_platform=pc&amp;utm_medium=51cto&amp;utm_source=zhuzhan&amp;utm_content=sy_topbar&amp;rtm_frd=13" target="_blank" rel="nofollow">直播课</a>
                <a href="https://e.51cto.com/rk/?utm_platform=pc&amp;utm_medi-um=51cto&amp;utm_source=zhuzhan&amp;utm_content=sy_topbar&amp;rtm_frd=14" target="_blank" rel="nofollow">软考学堂</a>
            </div>
            <div class="nav-contant nav-contant3" data-id="3" style="height: 0px; z-index: 0;">
                <a href="https://e.51cto.com/?utm_platform=pc&amp;utm_medi-um=51cto&amp;utm_source=zhuzhan&amp;utm_content=sy_topbar" target="_blank" rel="nofollow">精品班</a>
                <a href="https://e.51cto.com/wejob/list?pid=5&amp;utm_platform=pc&amp;utm_medium=51cto&amp;utm_source=zhuzhan&amp;utm_content=sy_topbar&amp;rtm_frd=41" target="_blank" rel="nofollow">厂商认证</a>
                <a href="https://e.51cto.com/wejob/list?pid=1&amp;utm_platform=pc&amp;utm_medium=51cto&amp;utm_source=zhuzhan&amp;utm_content=sy_topbar&amp;rtm_frd=42" target="_blank" rel="nofollow">IT技术</a>
                <a href="https://e.51cto.com/rk/?utm_platform=pc&amp;utm_medium=51cto&amp;utm_source=zhuzhan&amp;utm_content=sy_xyzq_rightwzl&amp;rtm_frd=07&amp;utm_medium=51cto&amp;utm_source=zhuzhan&amp;utm_content=sy_topbar&amp;rtm_frd=43" target="_blank" rel="nofollow">2022年软考</a>
                <a href="https://e.51cto.com/wejob/list?pid=33&amp;utm_platform=pc&amp;utm_medium=51cto&amp;utm_source=zhuzhan&amp;utm_content=sy_topbar&amp;rtm_frd=44" target="_blank" rel="nofollow">PMP项目管理</a>
            </div>
            <div class="nav-contant nav-contant4" data-id="4" style="height: 0px; z-index: 0;">
                <a href="https://b.51cto.com/index?utm_source=hometop" target="_blank" rel="nofollow">在线学习</a>
                <a href="https://b.edu.51cto.com/site/home" target="_blank" rel="nofollow">企业服务</a>
            </div>
            <div class="nav-contant nav-contant5" data-id="5" style="height: 0px; z-index: 0;">
                <a href="https://x.51cto.com/?www" target="_blank" rel="nofollow">CTO训练营</a>
                <a href="https://x.51cto.com/act/cto/tl" target="_blank" rel="nofollow">技术经理研习营</a>
                <a href="https://x.51cto.com/act/cto/leatech2021?www1" target="_blank" rel="nofollow">LeaTech峰会</a>
            </div>
            <div class="nav-contant nav-contant6" data-id="6" style="height: 0px; z-index: 0;">
                <a href="https://ost.51cto.com/postlist" target="_blank" rel="nofollow">文章</a>
                <a href="https://ost.51cto.com/resource" target="_blank" rel="nofollow">资源</a>
                <a href="https://ost.51cto.com/answerlist" target="_blank" rel="nofollow">问答</a>
                <a href="https://ost.51cto.com/study" target="_blank" rel="nofollow">开源课堂</a>
                <a href="https://ost.51cto.com/column" target="_blank" rel="nofollow">专栏</a>
                <a href="https://ost.51cto.com/activity" target="_blank" rel="nofollow">直播</a>
            </div>
            <div class="nav-contant nav-contant7" data-id="7" style="height: 0px; z-index: 0;"></div>
            <div class="nav-contant nav-contant8" data-id="8" style="height: 0px; z-index: 0;"></div>
        </div>
    </div>
</header>
<div class="Header" style="height: 61px; top: 0px; display: none;">
  <div class="Page clearfix ">
      <div class="Logo"><a href="https://blog.51cto.com/"><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/logonew5.png" alt="51CTO博客" width="202" title="51CTO博客"><h2>51CTO博客</h2></a></div>
      <ul class="Navigates fl commonhide">
      <li><a href="https://blog.51cto.com/">首页</a>
        <div class="spam-classifications" style="display:none;">
          <div class="spam-classifications-content">
          <div class="classification-ipc" id="classification-ipc"></div> <div class="classification-primary-list-box" id="classification-primary-list-box"></div>

          </div>
        </div>
      </li>
      <li><a href="https://blog.51cto.com/nav/following">关注</a></li>
        <li><a href="https://blog.51cto.com/ranking/hot">排行榜</a></li>
      <li class="">
        <a href="https://blog.51cto.com/cloumn/index" target="_blank">订阅专栏</a>
      </li>
      
                  </ul>
    <ul class="Navigates Navigates-right fr">
      <li class="more maps  ">
        <span class="menu iconblog bloggengduo"></span>
        <div>
          <div class="ins">

            <a href="https://edu.51cto.com/" target="_blank">学堂</a>
            <a href="https://e.51cto.com/" target="_blank" rel="nofollow">精培</a>
            <a href="https://ost.51cto.com/?utm_source=blognav" target="_blank">开源社区</a>
            <a href="http://x.51cto.com/" target="_blank" rel="nofollow">CTO训练营</a>
            <a href="http://www.51cto.com/" target="_blank">51CTO</a>
              <a href="https://blog.51cto.com/class-blog/index" target="_blank">班级博客</a>
          </div>
        </div>
      </li>
              <li class="logins">
			    <a href="https://home.51cto.com/index?from_service=blog&amp;scene=login1&amp;reback=https://blog.51cto.com/u_15127573/2763250" target="_self" class="clearfix" rel="nofollow"><span class="fl">登录</span><b class="fgline fl"></b><span class="fl">注册</span></a>
        </li>
                        <li class="mRead commonhide">
            <a href="javascript:;" rel="nofollow"> <u></u></a>
            <div>
              <div class="ins">
                  <div class="towD-box">
                      <img id="towD-box1">
                      <p>手机随时阅读</p>
                  </div>
                </div>
            </div>
        </li>
                  <li class="write commonhide"><a href="javascript:;" id="toPublish" onclick="Login({scene:&#39;write1&#39;})" rel="nofollow"> <span></span>写文章</a></li>
                <li class="search commonhide">

          <form class="fr form-search" method="get" action="https://blog.51cto.com/search/result" target="_blank">
            <input type="text" name="q" placeholder="大家都在搜索..." id="TopSearchInput" autocomplete="off">
            <button class="iconblog blogsou" id="TopSearchBtn"></button>
          </form>
          <div class="focusSelect focusSelect_his" style="display: none;">

              <div class="searchHistoryList" style="display: none;">
                <div class="clearfix hishead">搜索历史
                  <span class="clearhis"><i class="iconblog blogshanchu18 "></i>清空</span>
                </div>
                <div class="hisitem-wrap"></div>
              </div>

              <div class="hotList" style="display: none;">
                <div class="clearfix hishead">热门搜索</div>
                <div class="hot-wrap"></div>
              </div>

          </div>

          <div class="focusSelect focusSelect_key" style="display: none;">
            <div class="keyitem-wrap">

            </div>
            <div class="clearfix checkSearchResult">
              <span>查看【</span>
              <span class="checkKey"></span>
              <span>】的结果</span></div>
          </div>


        </li>
          </ul>
    <div class="clear"></div>
  </div>
<div class="search-mask" style="display: none;"></div></div>

<!-- if publish show -->
<div class="Footer">
  <div class="Page ">
    <div class="fl">
      <a href="https://blog.51cto.com/" class="Logo"><img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/logo4.png" alt="51CTO博客" width="214" title="51CTO博客"></a>
      <p class="copy">Copyright © 2005-2022 <a href="http://www.51cto.com/" target="_blank">51CTO.COM</a>
          版权所有 京ICP证060544号</p>
    </div>

    <dl class="foot_ab fr">
      <dt>关于我们</dt>
      <dd>
        <table class="aboutList">
              <tbody><tr>
                  <td><a href="https://blog.51cto.com/51ctoblog" target="_blank">官方博客</a></td>
                  <td><a href="https://blog.51cto.com/51ctoblog/2643377" target="_blank">意见反馈</a></td>
                  <td><a href="http://www.51cto.com/about/aboutus.html" target="_blank">了解我们</a></td>
                  <td><a href="https://blog.51cto.com/nav" target="_blank">全部文章</a></td>
              </tr>
              <tr>
                  <td><a href="javascript:;" class="zhiCustomBtn">在线客服</a></td>
                  <td><a href="http://www.51cto.com/about/map.html" target="_blank">网站地图</a></td>
                  <td><a href="https://blog.51cto.com/topic/all" target="_blank">热门标签</a></td>
              </tr>
          </tbody></table>
      </dd>
    </dl>


    <dl class="foot_link fr">
      <dt>友情链接</dt>
      <dd>

        <table class="aboutList-2">
            <tbody><tr>
                <td><a href="https://ost.51cto.com/?utm_source=blogsitemap" target="_blank">开源基础软件社区</a></td>
                <td><a href="https://edu.51cto.com/" target="_blank">51CTO学堂</a></td>
            </tr>
            <tr>
              <td><a href="http://www.51cto.com/" target="_blank">51CTO</a></td>

            </tr>
        </tbody></table>
      </dd>
    </dl>

  </div>
</div>
    <div class="right-fixadv">
        <div class="ins">
            <span></span>
            <a href="https://blog.51cto.com/activity-20221024/index#niu" target="_blank">
                              <img src="./linux ubuntu 安装 MySql 8.0.23 教程_files/go1.gif" alt="" lazy="loaded">
                       
            </a>
        </div>
    </div>






<div class="zhiCustomBtn" style="display:none;" id="hide-zhiCustomBtn"></div>
<script>
    var userId="";
var uid="";
var user_id=15117573;
var isLogin=0;
var imgpath="https://s2.51cto.com/";
var BLOG_URL="https://blog.51cto.com/";
var HOME_URL="https://home.51cto.com/";
var STATICPATH="https://static2.51cto.com/edu/";
var SA_SERVER_URL_YM="https://sc.51cto.com/sa?project=production";
var cururl="https://blog.51cto.com/u_15127573/2763250";
var login_url="https://home.51cto.com/mobile/client-login?reback=https://blog.51cto.com/u_15127573/2763250";
var praise_url="https://blog.51cto.com/praise/praise";
var qrcodeSid="";
var qr_code="";
var router="blog/index";
var csrfParam="_csrf";
var csrfToken="AyOqEYRZcQUN4Q8rv2ZISu9YonVaEDIlZIo94foo4lTJsXpxcPtSAfC3WDt1RJVByg7ES-ileYnPBZJZHyR4FA==";
var is_load=0;
var uc_url="https://ucenter.51cto.com/";
var blog_url="https://blog.51cto.com/";
var isBuy=1;
var isPc=0;
var writeMessage="linux ubuntu 安装 MySql 8.0.23 教程\r\nhttps:\/\/blog.51cto.com\/u_15127573\/2763250";
var isCodeCopy=0;
var cid="";
var fid=0;
var commentListPage="";
var originalUrl="https://blog.51cto.com/u_15127573/original";
var followersUrl="https://blog.51cto.com/u_15127573/followers";
var translateUrl="https://blog.51cto.com/u_15127573/translate";
var reproduceUrl="https://blog.51cto.com/u_15127573/reproduce";
var followingUrl="https://blog.51cto.com/u_15127573/following";
var page="detail";
var tipStatus=1;
var addReply_url="https://blog.51cto.com/addBlogComment";
var removeUrl="https://blog.51cto.com/delBlogComment";
var blog_id=2763250;
var is_comment=0;
var comment_list="https://blog.51cto.com/getBlogCommentList";
var index_url="https://blog.51cto.com/u_15127573";
var img_url="https://static2.51cto.com/edu/blog/";
var i_user_id="";
var c_user_id=15117573;
var collect_url="https://blog.51cto.com/addUserCollect";
var is_old=1;
var nicknameurl="https://blog.51cto.com/u_15127573";
var nickname="mob604756f1c0ca";
var shareimgUrl="/qr/qr-url?url=https%3A%2F%2Fblog.51cto.com%2Fu_15127573%2F2763250";
var checkFollow=1;
var seoTitle="ubuntu安装mysql8.0";
            !function(f,p){"use strict";var h=new RegExp("\\.css"),y=p.head||p.getElementsByTagName("head")[0],r=+navigator.userAgent.replace(/.*(?:AppleWebKit|AndroidWebKit)\/?(\d+).*/i,"$1")<536;function s(e){return"complete"===e.readyState||"loaded"===e.readyState}function b(e,t,n){var o="onload"in e;function a(){e.onload=e.onreadystatechange=null,e=null,t()}"css"!==n||!r&&o?o?(e.onload=a,e.onerror=function(){e.onerror=null,f._cdnFallback(e)}):e.onreadystatechange=function(){s(e)&&a()}:setTimeout(function(){!function e(t,n){var o;t.sheet&&(o=!0),setTimeout(function(){o?n():e(t,n)},20)}(e,t)},1)}function u(t,n,e,o){if(t)if(h.test(t)){var a=t,r=e,c=u,i=p.createElement("link");if(r.attrs)for(var l in r.attrs)i.setAttribute(l,r.attrs[l]);r.prefetch?(i.href=a,i.rel="prefetch",c&&c()):(i.rel="stylesheet",b(i,c,"css"),i.href=a),y.appendChild(i)}else{var c=t,d=e,a=u,f=d.prefetch?p.createElement("link"):p.createElement("script");if(d.attrs)for(var s in d.attrs)f.setAttribute(s,d.attrs[s]);d.prefetch?(f.href=c,f.rel="prefetch",a&&a()):(f.charset="utf-8",b(f,a,"js"),f.async=!1,f.src=c),y.appendChild(f)}else setTimeout(function(){u()});function u(){var e=n.indexOf(t);-1<e&&n.splice(e,1),0===n.length&&o()}}function c(e="load",t){var n="object"==typeof t.option?t.option:{},t="function"==typeof t.callback?t.callback:null;return n.attrs="object"==typeof n.attrs?n.attrs:{},n.loaded="boolean"==typeof n.loaded&&n.loaded,n[e]=!0,{option:n,cb:t}}function i(c,e,t="load"){var n,o,a,r,i,l;function d(){var e=c,t=i,n=l;function o(){n&&n()}if(0===(e=Array.prototype.slice.call(e||[])).length)o();else for(var a=0,r=e.length;a<r;a++)u(e[a],e,t,o)}c&&c.length&&(i=e.option,l=e.cb,e=p,n=function(){"load"===t&&i.loaded?setTimeout(d,2e3):d()},("ready"===(o=t)?"loading"!==e.readyState:s(e))?n():(a=!1,r=function(){a||(n(),a=!0)},"load"===o?f.addEventListener("load",r):"ready"===o&&p.addEventListener("DOMContentLoaded",r),setTimeout(function(){r()},1500)))}f.PsLoader={ready:function(e,t,n={}){var o=[],a=[];e.forEach(function(e){(h.test(e)?o:a).push(e)}),n.loaded=!1,i(o,c("ready",{option:n,callback:function(){t(o)}}),"ready"),i(a,c("load",{option:n,callback:function(){t(a)}}))},load:function(e,t,n={}){i(e,c("load",{option:n,callback:t}))},prefetch:function(e,t,n={}){i(e,c("prefetch",{option:n,callback:t}))}}}(window,document);        !function(m,g){var t=["scroll","wheel","mousewheel","resize","animationend","transitionend","touchmove"];function n(e){if("object"!=typeof e)throw new Error("CLazy option is not Object");var f={defaultImg:e.defaultImg||"",preLoad:e.preLoad||1.3,preLoadTop:e.preLoadTop||0,complete:e.complete||null,events:e.events||t,capture:e.capture||!1},v=0,p={},h={},i={},A=this;function l(e){var t=e;if("object"!=typeof t)return!1;if(!t.el)for(var r in p)if(e===p[r].el){t=p[r];break}return t}function c(e){var e=e.getBoundingClientRect(),t=f.preLoad,r=f.preLoadTop;return e.top<m.innerHeight*t&&e.bottom>r&&e.left<m.innerWidth*t&&0<e.right}function u(e,t){var r,n=e.bindType,o=e.el;switch(t){case"loading":case"error":r=f.defaultImg;break;default:r=e.src}n?e.src&&(o.style[n]='url("'+r+'")'):o.getAttribute("src")!==r&&o.setAttribute("src",r),o.setAttribute("lazy",t)}this.add=function(e,t){var r=function(e){var t,r=!1;for(t in p)if(p[t].el===e){r=p[t];break}return r}(e);if(r)return this.check(r),!1;r="e_"+ ++v;if(p[r])return this.check(p[r]),!1;for(var n,o={id:r,el:e,bindType:"IMG"===e.tagName?null:"background-image",src:(n=e,(t=t)?t.value:n.getAttribute("ps-lazy")),$parent:function(e){if(!(e instanceof HTMLElement))return m;var t=e;for(;t&&t!==g.body&&t!==g.documentElement&&t.parentNode;){if(/(scroll|auto)/.test(function(e){return y(e,"overflow")+y(e,"overflow-y")+y(e,"overflow-x")}(t)))return t;t=t.parentNode}return m}(e)},a=(h[r]=function(e){A.check(o)},p[r]=o),i=h[r],c=0;c<f.events.length;c++){s=d=u=l=void 0;var[l,u,d,s=!1]=[a.$parent,f.events[c],i,f.capture];l&&l.addEventListener(u,d,s),m!==l&&m.addEventListener(u,d,s)}this.check(o)},this.remove=function(e){for(var e=l(e),t=(e.el&&e.el.removeAttribute("ps-lazy"),e),r=h[e.id],n=0;n<f.events.length;n++){c=i=a=o=void 0;var[o,a,i,c=!1]=[t.$parent,f.events[n],r,f.capture];o&&o.removeEventListener(a,i,c),m!==o&&m.removeEventListener(a,i,c)}delete h[e.id],delete p[e.id]},this.check=function(e){var t,r,n,o,a=l(e);c(a.el)&&(m===a.$parent||c(a.$parent))?(e=function(e){u(a,e),A.remove(a),f.complete&&f.complete({el:a.el,src:a.src,state:e})},a.src?(t=a.src,r=e,n=encodeURIComponent(t),i[n]?r(i[n]):((o=new Image).onload=function(){i[n]="loaded",r(i[n])},o.onerror=function(){i[n]="error",r(i[n])},o.src=t)):e("loaded")):u(a,"loading")},this.checkAll=function(){for(var e in p)A.check(p[e])}}function y(e,t){return"undefined"!=typeof getComputedStyle?getComputedStyle(e,null).getPropertyValue(t):e.style[t]}m.PsLazy=function(e={}){function t(e){for(var t=e.path||event.composedPath&&event.composedPath()||e._getPath&&e._getPath(),r=0;r<t.length;r++){var n=t[r];if(n&&"hasAttribute"in n&&n.hasAttribute("ps-lazy-check")){o.format();break}}}function r(){var e=g.querySelector("img[data-share]");e&&!e.getAttribute("src")&&e.setAttribute("src",e.getAttribute("data-share"))}var o=this;n.call(o,e),g.addEventListener("click",t),g.addEventListener("mouseover",t),this.format=function(){var e=g.querySelectorAll("[ps-lazy]");if(!e.length)return!1;for(var t=0;t<e.length;t++)o.add(e[t])},this.format();"complete"===(e=g).readyState||"loaded"===e.readyState?r():m.addEventListener("load",r,!1)}}(window,document);        PsLoader.load(["https://static2.51cto.com/edu/blog/blog-static/static/css/pc_detailinline.min.css?v=983e671a25","https://static2.51cto.com/edu/blog/blog-static/static/css/pc_detail.min.css?v=9d05a9cfdc","https://cdn.51cto.com/jquery/jquery-2.2.4.min.js","https://static2.51cto.com/edu/center/js/interaction_iframe.js","https://cdn.51cto.com/jquery/swiper-4.5.3.js","https://static2.51cto.com/edu/blog/blog-static/static/js/pc_base.min.js?v=a6e743f396","https://static2.51cto.com/edu/blog/blog-static/js/mdprime.js?v=20a7f823a1","https://static2.51cto.com/edu/blog/blog-static/static/js/pc_detail.min.js?v=5badd5121d"], function() {})
    PsLoader.prefetch(["https://static2.51cto.com/edu/blog/blog-static/static/css/pc_base.min.css?v=7a2aea50e8","https://static2.51cto.com/edu/blog/blog-static/static/css/pc_indexinline.min.css?v=13f9b227da","https://static2.51cto.com/edu/blog/blog-static/static/css/pc_listinline.min.css?v=5feb5d928d","https://static2.51cto.com/edu/blog/blog-static/static/css/pc_topicinline.min.css?v=cca19a7e35","https://static2.51cto.com/edu/blog/blog-static/static/css/pc_topicdetailinline.min.css?v=b7a607f81d","https://static2.51cto.com/edu/blog/blog-static/static/css/pc_bloggerinline.min.css?v=02369fae91","https://static2.51cto.com/edu/blog/blog-static/markdown/dist/js/main.js?v=cbacebf661","https://static2.51cto.com/edu/blog/blog-static/static/js/pc_index_js.min.js?v=da0413cba6","https://static2.51cto.com/edu/blog/blog-static/static/js/pc_list_js.min.js?v=3d2309f15b","https://static2.51cto.com/edu/blog/blog-static/static/js/pc_topic.min.js?v=873da4210c","https://static2.51cto.com/edu/blog/blog-static/static/js/pc_topic_static.min.js?v=8533cb9e02","https://static2.51cto.com/edu/blog/blog-static/static/js/pc_topicdetail.min.js?v=901345e7d5","https://static2.51cto.com/edu/blog/blog-static/static/js/pc_blogger_js.min.js?v=a35226e5cc"]);
    var Lazy = new PsLazy({
        defaultImg: "https://s2.51cto.com/images/100/base/empty.png?x-oss-process=image/format,webp/ignore-error,1",
        preLoad: 1.3,
        complete: function(opt) {},
    })
</script>


<div id="waf_nc_block" style="display: none;"><div class="waf-nc-mask"></div><div id="WAF_NC_WRAPPER" class="waf-nc-wrapper"><p class="waf-nc-title">访问验证</p><p class="waf-nc-description">为了更好的访问体验，请进行如下验证</p><p id="waf-nc-traceid" class="waf-nc-traceid-class"></p><div id="nocaptcha"></div></div></div><script async="" id="zhichiScript" class="zhiCustomBtn" src="./linux ubuntu 安装 MySql 8.0.23 教程_files/entrance.js"></script><div style="background: url(&quot;https://static2.51cto.com/edu/blog/images/bg50.png&quot;) repeat; position: fixed; left: 0px; top: 0px; width: 100%; height: 100%; z-index: 10000000; display: none;"><div style="z-index:10000001;width:50px;height:50px;background:url(https://static2.51cto.com/edu/blog/images/loading2.gif) no-repeat center;background-size:50px 50px;position:absolute;left:50%;top:50%;margin-left:-25px;margin-top:-25px;"></div></div><div id="zhichiBtnBox" style="position: fixed; z-index: 2147483583; box-shadow: rgba(15, 66, 76, 0.25) 0px 0px 14px 0px; width: 60px; height: 60px; border-radius: 50%; background-color: rgb(231, 83, 73); background-image: url(&quot;//www.sobot.com/chat/frame/imgs/icon.png&quot;); background-repeat: no-repeat; background-position: 18px -58px; right: 40px; bottom: 20px; display: none;"><a hidefocus="" id="zhichiBtn" style="position:relative;text-decoration: none; outline: none; font-family: Microsoft Yahei, Arial, Helvetica; color: #fff; font-size: 16px; display: inline-block; margin: 0; padding: 0; border: none; line-height:43px; float:none;width:100%;height:100%;border-radius:50%;"><span class="zc-advice-icon-btn-title" style="box-shadow: rgba(107, 113, 114, 0.15) 0px 2px 4px 0px; border: 1px solid rgb(235, 239, 240); font-family: &quot;Microsoft Yahei&quot;, Arial, Helvetica; color: rgb(85, 85, 86); font-size: 13px; margin: 0px; text-align: right; background: rgb(255, 255, 255); position: absolute; top: 15px; right: 70px; text-overflow: ellipsis; white-space: nowrap; word-break: normal; display: none; border-radius: 3px; padding: 0px 5px; height: 30px; line-height: 30px;">咨询在线客服</span></a><i style="position:absolute;top:0px;right:0px;padding:1px;line-height:20px;text-align:center;color:#fff;font-weight:bold;height:18px;min-width:18px;background-color:#ed5c5c;border-radius:18px;font-size:12px;display:none;font-style:normal;" id="zhichiCount"></i></div></body></html>